-
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.
-
Building a Load Balancer in Go
From plain round robin to health checks, then Traefik's Weighted Round Robin and P2C, built by hand in Go.
-
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.