All levelsPhoto app · 2
Viral image post
BeginnerBetaYour photos are in object storage from Photo uploads. Now one photo went viral: 8,000 people a second are opening it, on top of the feed and new posts. Serve every request without going over budget.
Builds on: Object storage3 stars: serve everyone, keep every component at or below 90%, spend 5 credits or less.
- Users8,800 req/s
- Edge
- App
- CacheEmpty
- Data
Capacities and costs are game values, not real benchmarks.
Gone viral
Not tested
Sending traffic through your current setup…
- Throughput by requestNot tested
- Scroll the feed–700 req/s · needs 100%Open a photo–8,000 req/s · needs 100%Post a photo–100 req/s · needs 100%
- Peak loadNot tested
- –Max 90%
- CostMet
- 0 creditsPar 5
Components
App server
2 creditsRuns your code. Comes in three sizes.
Size, all 21,200 req/s total
Tap one server on the board to size it on its own.
CDN90% hit rate
3 creditsAnswers most photo and file views from servers near your users.
Load balancer20,000 req/s
2 creditsSpreads requests across your app servers.
Database
2 creditsStores your data. Every write goes here.
Size1,000 ops/s
Object storageNo limit
1 creditHolds files such as photos, with no limit. The database keeps a link to each.