All Questions
Scaling Reads easy

Why is reading data from Redis (In-Memory) faster than reading from PostgreSQL (Disk)?

  1. A Redis uses a better network cable.
  2. B PostgreSQL is badly written.
  3. C Accessing RAM is orders of magnitude faster (nanoseconds) than waiting for mechanical or flash disk I/O (milliseconds).
  4. D Redis compresses data better.

One system design question a day, with spaced repetition so the ones you miss come back.

Get the app

Related questions