Design a distributed rate limiter for 1M decisions a second. Eight algorithms with worked examples, tested Valkey Lua scripts, how to set up the Valkey cluster, a rule engine, what happens when each part goes down, bottlenecks, analytics, cost, and what breaks at 10x and 100x.