PrepCity

Cache-aside

Route · 6 of 34Route 6 / 34, see the whole routeOpen the lab

By the last page, this is the design you will have built. Drag it, or Show all, to see every part.

Route · step 6 of 34 · 10 pages · about 10 min

Cache-aside

The application asks Redis first, reads PostgreSQL on a miss and fills the cache, and the database stops drowning.

New words you’ll learn

  • SQL
  • Processor core
  • Bottleneck
  • Redis
  • Memory store
  • Cache
  • Cache-aside
  • TTL
  • Outage
  • Commit

Page by page