Redis is a popular key-value store, commonly used as a cache or message broker service. However, it can do so much more than just hold string values in memory! -- Redis is a full featured “data structure server”. As PHP developers, we typically don’t think about data structures other than our jack-of-all-trades array, but Redis can store hashes, lists, sets, and sorted sets, in addition to operating on string values. In this talk, we’ll explore these basic data structures in Redis and look at how we can apply them to solve problems like rate limiting, creating distributed locks, or efficiently checking membership in a massive set of data.

Comments

Comments are closed.

So much info. Lots to process. Great job.

Colin O'Dell at 12:43 on 16 Oct 2021

Andy did a great job catering to both Redis veterans and newcomers alike. I've been using Redis for many years but wasn't aware of some of the newer data structures, so it was great to learn about those. I especially liked how Andy showed real-world examples of using Redis in PHP applications to solve different use cases. Nicely done!