All Questions
Caching easy

Why use a centralized Distributed Cache (like a Redis Cluster) over local in-memory caches on each web server?

  1. A Distributed caches are physically faster to access over a network than local system memory access.
  2. B To ensure that all web servers share a coherent state, such as consistent user session data across the cluster.
  3. C Local in-memory caches are strictly limited to storing primitive data types and cannot serialize complex objects.
  4. D Distributed caches utilize specialized protocols that do not require any serialization of the data being stored.

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

Get the app

Related questions