When the cache is slow, the database pays — System design

A ticketing site's pages crawl when its cache turns sluggish, and the database behind it is overwhelmed. Get the pages fast again.

All system design challenges