Lesson 7
How big should the cache be?
Break it
The social feed, with a small cache. Turn traffic up to 3,000 requests per second.
Users
1,000 req/s
Load balancer
splits evenly
2%
App servers
× 5
21%
Cache
small · LRU · 15% hits
1%
DB primary
reads + writes
60%
Read replicas
None
Off
p50 latency
142 ms
Failed requests
0.0%
Monthly cost
$390