All levelsLevel 2

Launch day

BeginnerBeta

Your 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.

  1. Users2,000 req/s
  2. Edge
  3. App
  4. CacheEmpty
  5. Data

Capacities and costs are game values, not real benchmarks.

Credits 0/12

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.
1

One is enough here: a second doesn't spread traffic any further.

App server
2 creditsRuns your code. Comes in three sizes.
1
Size
600 req/s
Cache80% hit rate
3 creditsAnswers about 80% of reads from memory.
0
Read replica1,000 ops/s each
2 creditsA copy of the database that serves reads.
0
Database
2 creditsStores your data. Every write goes here.
Always 1
Size
1,000 ops/s