The read-heavy feed
Primary DB overloaded
- p95 latency (server)
- 142 ms
- target < 200 ms
- Error rate
- 65.0%
- target < 1%
- Est. cost / month
- $700
- budget $1100
Challenge · beginner
A news feed with 5,000 requests per second. 95% are reads of the same popular stories. Adding app servers alone is not saving the database.
Handle 5,000 req/s with p95 under 200 ms, errors under 1%, every part under 90% busy, for at most $1100/month.
Need a hint?
The database can only take ~1,200 requests per second. What keeps repeated reads away from it?