SpinTheMic
Pro

Interview practice question

Caching a 5 MB object

System Design · Caching · Intermediate

An endpoint caches a 5 MB JSON object per user, and Redis memory and latency are suffering. What would you change?

What a strong answer covers

Your AI report card counts how many of these ideas you cover.

  • Large values are slow and block Redis.
  • Cache only needed fields.
  • Split into smaller keys/hashes.
  • Compress.
  • Store big blobs in object storage, cache pointers.
Practise this topic

Start without signing up. Sign in free to get an AI report card on your answer.

See all topics