Holding 100,000 concurrent users during the IPL
During the IPL (India's biggest cricket tournament) over 100,000 people were on Stake at once. We hadn't sized for it, and p99 latency hit around 5 seconds.
- 1Optimized hot paths and slow queries.
- 2Batched per-item database calls into bulk operations.
- 3Added a caching layer in front of the hottest reads.
- 4Scaled the Kubernetes pods to match demand.
Traced in Datadog and AWS Performance Insights. After the first rough days, smooth as butter.