Redis beyond caching 1 question in 2 chapters

  1. 01Choosing structures and guarantees
  2. 02Sources

Choosing structures and guarantees

  • 1.1 What can Redis do besides caching, and what guarantees must you check? Medium 4 min

    Redis is also useful for shared counters and rate limits, sessions, leaderboards, expiring coordination state and messaging. I choose the data structure from the operation: a sorted set for rank, a counter with an atomic expiry policy for limits, and a stream with acknowledgment for recoverable work. The important question is what happens on disconnect, eviction or failover, because fast access alone does not guarantee durable business correctness.

    Read the full answer

Sources