SpinTheMic
Pro

Explain it in 60 seconds

What format to store in a cache

System Design · Caching · Intermediate

How do you decide what format to store values in a cache?

What a strong answer covers

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

  • Compact and fast to (de)serialise.
  • JSON: readable, larger, slower.
  • Protobuf/MessagePack: compact, fast.
  • Compress large values.
  • Version the schema.
Practise this topic

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

See all topics