Redis

In-memory data structures for caching, queues and leaderboards.

All topics · 3 lessons · 23 resources

Learn Redis on System Design Atlas

  1. 01Why Redis is fast, and Redis versus MemcachedIn-memory storage, a single-threaded event loop and rich data structures, plus how persistence and replication work.Core Concepts: How Things Actually Work · 8 min read · start here
  2. 02Redis: persistence, replication, Sentinel and ClusterWhat keeps an in-memory database from losing data and from being a single point of failure: snapshots, the append-only file, replicas, Sentinel and hash slots.Advanced Distributed Systems · 12 min read
  3. 03Nearby search with Redis GEOHow Redis stores locations in a sorted set using geohash scores, how GEOSEARCH finds nearby members, how to expire stale entries, and when to move to a spatial database.Search, Analytics and Geo · 10 min read

These share a lesson with Redis.

Curated Redis resources

GitHub

Case Studies

Blogs

Documentation

Courses

YouTube