Redis: Beyond Caching and Queues
summary
Describes using Redis as the primary database for three years, storing users, likes and courses in memory-backed keys and implementing features with Redis data types: set intersection (SINTER) for finding common likes and sorted sets with ZINCRBY + ZREVRANGE for simple recommendations. Covers transactional patterns (MULTI/EXEC and server-side Lua scripts) and durability options (RDB/AOF), an IP rate limiter using INCR + EXPIRE, algorithmic costs like SINTER’s complexity, and high-availability options such as Sentinel and clustering.
AI-written summary · about
chapters (7)
- 0:00Introduction
- 1:07Redis as a database
- 7:11Practical Redis examples
- 11:46Transactions and consistency
- 16:44IP usage limits
- 20:35Recommended Redis courses
- 24:31Summary
related talks
56mRedis Application Patterns in Rails
31mSolid Cache: A disk backed Rails cache
33mWhat the Cache?!
24mFrom Expensive Queries to Smart Caching: A DBA’s Guide for Rails
37mScaling Vinted: A System That Never Stands Still
56mScaling Rails API to Write-Heavy Traffic
34mCache = Cash! 2.0
39mAsynchronous Workers to the Resque
