All levelsLevel 2
Launch day
BeginnerBetaYour load balancer from Soft launch is in place. Now the app got featured: about 2,000 requests per second arrive, and 90% of them are reads. Serve every request without going over budget.
Builds on: Load balancing3 stars: serve everyone, keep every component at or below 90%, spend 9 credits or less.
- Users2,000 req/s
- Edge
- App
- CacheEmpty
- Data
Capacities and costs are game values, not real benchmarks.
Launch spike
Not tested
Sending traffic through your current setup…
- ThroughputNot tested
- –Target 2,000
- Error rateNot tested
- –Max 0.0%
- Peak loadNot tested
- –Max 90%
- CostMet
- 0 creditsPar 9
Components
Load balancer20,000 req/s
2 creditsSpreads requests across your app servers.
One is enough here: a second doesn't spread traffic any further.
App server
2 creditsRuns your code. Comes in three sizes.
Size600 req/s
Cache80% hit rate
3 creditsAnswers about 80% of reads from memory.
Read replica1,000 ops/s each
2 creditsA copy of the database that serves reads.
Database
2 creditsStores your data. Every write goes here.
Size1,000 ops/s