technotes · topic
First-principles depth — the single-threaded model, data structures, caching, persistence & scaling.
One thread, one queue — atomicity for free, and big-O as shared latency.
doneChoosing string / hash / list / set / zset on cost, not habit.
doneLazy + active expiry, and why a TTL is not the same as memory-pressure eviction.
doneThe canonical caching pattern, and the thundering herd when TTLs expire together.
doneSnapshots vs the append log, and the fork()/copy-on-write trick that avoids blocking.
doneHow a replica copies a primary, why it's asynchronous, and the failover story.
doneMonitoring + promotion, and sharding across primaries with 16384 hash slots.
doneA cross-lesson quiz spanning 0001–0007 to convert fluency into durable memory.
done