retrystorm · Learn · Interview practice · Glossary · Components

Home › Interview practice › Blogs falls over at noon

Blogs falls over at noon

A read-heavy blog outgrows one app server and one database node.

Inkwell Blogs. Readers vastly outnumber writers, and at noon the traffic peaks. Pages start to fail: the app tier is a single server and the database is a single node.

Workload

A steady 12 000 rps, 95% reads / 5% writes, for 20 seconds, over 100 000 posts.

Your move

One medium database node serves about 8 000 reads per second flat out, and database nodes top out at medium here. Scale the app tier, and give the database read replicas, then run again.

About · Contact · Privacy · Terms of use