The incident
ParcelMint is a fictional shipping marketplace. Its public GET /v1/quotes API is used by 4,800 merchant integrations to price labels before checkout. Each API key is promised 10 requests per 10-second window.
During a carrier sale, one merchant sent a burst through the load balancer. We had three API instances, each enforcing the promise in its own memory, so the merchant received 30 admitted requests in one window. The carrier quotation service throttled us, label purchases failed for 8.4% of customers, and the carrier asked us to cut traffic until the afternoon.
Make the quota a property of the key, not of whichever instance received the request. Keep the public response useful when a caller is over limit. The work includes a deployable three-instance shape; the carrier itself stays simulated.
Lab boundary
The three API containers simulate separate deployed instances, and the local Redis container simulates the shared rate-limit store. The load generator distributes one key across all three instances. Managed Redis failover, multi-region clock policy, and quota administration remain design-work for the write-up.