Phase 1Beginner2 of 17 in Redis
Core Data Structures
Strings, hashes, lists, sets and sorted sets: the commands, the complexity, how each is stored, and the classic problem each one solves.
Every Redis design starts with choosing a data structure. The right choice makes an operation one atomic O(1) or O(log N) command; the wrong one turns it into a racy read-modify-write loop or an O(N) scan that blocks the server.
Each topic follows the same order: what problem the structure solves, the commands, how Redis stores it internally, the atomicity you get for free, the interview problem it's famous for, and how it fails at scale.
0/6 · 0%
6 topics ~89 min 13 code blocks & diagrams