GOAT EngineerPreparing your learning space…

Practice problems · Category

Read-heavy problems

Serve billions of reads fast.

A read-heavy problem is one where reads outnumber writes so far that the database becomes the bottleneck long before anything else. The skill is choosing what to copy and where: a cache in front of the database, read replicas behind it, and a plan for the moment a popular entry disappears and every reader asks at once.

The read-heavy problems

  1. Read-Heavy API Design: Practice Problem

    Design the read path for an API that is mostly reads, then run it against spikes and a cold start. Practise cache-aside, read replicas and hot keys.

  2. Stop a Cache Stampede: Practice Problem

    When a popular entry expires, thousands of readers hit the database at once. Practise single flight and origin shields, then measure your design.

By GOAT Engineer. Practice problems · Privacy Policy · Contact.