Foundations — what Redis is, words you'll hear
Redis is an in-memory data-structure server: clients send commands over RESP to a single-threaded server, which mutates rich types (strings, lists, hashes, sets, sorted sets, streams) held in RAM and optionally persists snapshots/append-logs to disk.
Scene 01
Foundations — what Redis is, words you'll hear
- Watch
- Try it
- Predict
- Capture
A quick three-beat tour. The problem first, then the architecture, then the words you'll need for the rest of the curriculum.
Where this sits in Build Redis
Scene 01 of 10, in the The loop act — One thread, one command — and the encoding under it.. An in-memory data-structure server, the eight core nouns, and the six canonical types. Orientation before you touch the internals.
Up next. One thread, one command — the architectural choice that makes Redis fast, and quietly explains every later trade-off in this curriculum.
Designs that use this
- URL ShortenerShorten a long URL. Read-heavy. Don't collide.
- Distributed Rate LimiterEnforce a per-key request limit across a fleet of enforcers — accurately, in under a millisecond, without becoming the outage.
- Twitter / X TimelinePush or pull? Both. The canonical fanout problem.
- Uber / Lyft — Match Drivers and RidersMatch a rider to the closest acceptable driver in under 3 s. Geohash, S2, surge.