-
Rate Limiter Algorithms
From Token Bucket and Leaky Bucket to Fixed Window and Sliding Window Log/Counter: how each rate limiting algorithm works, and its trade-offs.
-
Redis-Based Distributed Locks and the Redlock Algorithm
From a single SET NX to Redlock, and why Martin Kleppmann argues it still is not enough.