When Flipkart's Big Billion Days sale opened in 2026, Business Standard reported 6.3 million people on the site at once.
I wanted to know what that does to a backend. So I took one hundredth of it, 63,000 shoppers, and sent them at three designs in a simulation. All of them arrive in the same minute, because the deal starts at the same minute.
The first two designs failed. The second one had a CDN, Redis, read replicas, a queue and 16 app servers, and still failed 1 in 5 requests. The third design added one box. It failed nothing, and it was $71,750 a month cheaper.
The crowd
- 63,000 requests a second. One request a second from each person. Flipkart doesn't publish this number; it's my estimate.
- 58% reads (deal pages, prices), 2% writes (orders), 40% files (product images).
Most of this crowd is looking, not buying. That matters later.
Try 1: the backend most of us start with
A load balancer, 8 app servers and one Postgres.
- 84.8% of requests failed.
- The slowest 1% waited 18.2 seconds.
- Retries nearly tripled the load. 63,000 people became 179,000 requests a second, because every failed request gets tried again, and the retries land on servers that are already full.
Nobody expected this one to survive. The next one is the interesting one.
Try 2: the textbook answer
I added everything you'd see in a system design interview answer:
- a CDN for the images (it answers 90% of file requests itself)
- 2 load balancers and 16 app servers
- 2 Redis caches (80% of reads answered from memory)
- 2 read replicas for the reads that miss the cache
- a queue and 4 workers so orders don't hit the database all at once
- 2 extra-large Postgres primaries
| Try 2 | |
|---|---|
| Failed requests | 19.8% |
| Typical wait | 2.8 s |
| Slowest 1% | 6.3 s |
| Requests hitting the system (with retries) | 109,000/s |
| Monthly bill | $211,614 |
The red box is the app servers. 84,700 requests a second arrive. 16 servers handle 32,000.
Here's the arithmetic. The CDN takes the images, but the other 60% of the crowd (deal pages and orders) needs an app server. With the images the CDN misses, that's about 40,300 requests a second for servers that handle 32,000. That's 26% too many. The servers fall behind, requests time out, clients retry, and 40,300 becomes 84,700.
The load balancers were at 85% and Postgres at 91%, so they were next in line.
You can keep adding app servers. But then you pay all year for a peak that lasts minutes, and Postgres goes next.
Try 3: add one box
Same design. One change: a waiting room in front of the load balancer, set to let in 20,000 people a second. Everyone else waits on a "you're in line" page and gets in as the crowd thins out.
| Try 2 | Try 3 (waiting room) | |
|---|---|---|
| Failed requests | 19.8% | 0% |
| Typical wait | 2.8 s | 58 ms |
| Slowest 1% | 6.3 s | 91 ms |
| App servers | 84.7k / 32k (overloaded) | 20k / 32k |
| Primary DB | 91% busy | 2.4k / 3.6k |
| Monthly bill | $211,614 | $139,864 |
At the peak, 20,300 people a second are in line instead of getting an error. Nothing is overloaded, so nothing retries, so the crowd stays 63,000 and not 109,000.
Why the fix is cheaper
This surprised me more than the failure rate. Here's where the money goes:
| Monthly cost | Try 2 | Try 3 |
|---|---|---|
| CDN | $188,625 | $114,698 |
| Load balancer traffic | $19,776 | $4,662 |
| Waiting room checks | none | $17,520 |
| Queue requests | $887 | $657 |
| Machines and storage | $2,327 | $2,327 |
| Total | $211,614 | $139,864 |
Two things stand out:
- The machines are 1 to 2% of the bill. At this scale you pay for traffic: about 55 billion requests and 1,758 TB sent to users a month. 16 app servers are cheap. Bandwidth isn't.
- Failure costs money. Every retry is another request through the CDN and the load balancer, and you pay for each one. The waiting room costs $17,520 a month and saves about $89,000 in traffic it no longer has to carry.
Why not just rate limit?
A rate limiter would also keep the servers up. But it does that by sending errors (HTTP 429) to tens of thousands of people at the one moment they care about most. A waiting room is admission control too, but the people it holds back keep their place in line.
For a sale, people waiting in line is a lot better than people getting errors.
What I left out (on purpose)
- This is a model, not a load test. The prices are AWS list prices. Your servers and your queries will differ. It shows where the wall is and roughly what it costs, not your exact numbers.
- Flipkart hasn't said it uses a waiting room. It's a common pattern for sales and ticket drops, not a claim about Flipkart's stack.
- Try 3 isn't finished. Over a whole day, 4 workers can't keep up with the orders, and the queue still holds millions of jobs at midnight. The requests all succeed, but the orders are late. That's the last goal on the level, and I left it for you.
Try it yourself
All three designs are built in Bugpit, a browser game I build for learning system design: you connect boxes, send traffic and watch what breaks. This is Level 50 of 91, "Flipkart: the sale opens".
👉 Open Try 2 as a challenge. It opens with no account. Get it to pass all 8 goals for less than $139,864 a month.
What would you change first? And if you've run a real sale or a ticket drop: did you queue people, rate limit them, or just scale and hope?



