technotes · topic

Redis

First-principles depth — the single-threaded model, data structures, caching, persistence & scaling.

Glossary

Lessons

  1. 0001 The single-threaded event loop

    One thread, one queue — atomicity for free, and big-O as shared latency.

    done
  2. 0002 Data structures by command complexity

    Choosing string / hash / list / set / zset on cost, not habit.

    done
  3. 0003 Key expiration: TTL vs eviction

    Lazy + active expiry, and why a TTL is not the same as memory-pressure eviction.

    planned

Reference

These lessons have a teacher attached. Bring a real latency graph, a data-model question, or a fuzzy concept to your session and we'll dissect it together.