All levelsLevel 3

Ticket drop

IntermediateBeta

Concert tickets go on sale at noon. 2,000 requests per second hit your app, and 60% of them are purchases: writes. Serve every request without going over budget.

3 stars: serve everyone, keep every component at or below 90%, spend 5 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/7

Tickets on sale

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 5

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.
4
Size, all 4
2,400 req/s total

Tap one server on the board to size it on its own.

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