Advertisement
Advanced Redis, Redis Architecture & Installation

How would you plan the hardware and infrastructure requirements for a new Redis deployment expected to handle a large, growing dataset?

Short answer

You would size available memory generously beyond your expected dataset size to account for growth and internal overhead like replication buffers, choose fast, reliable storage for persistence files even though Redis primarily operates in memory, plan for network bandwidth…

Save Redis mock interview
Advertisement
AModel answer
You would size available memory generously beyond your expected dataset size to account for growth and internal overhead like replication buffers, choose fast, reliable storage for persistence files even though Redis primarily operates in memory, plan for network bandwidth sufficient for your expected traffic, and decide early whether a single large instance or a sharded cluster better fits your anticipated scale.
Example

-- Estimate memory needs including overhead -- for replication buffers and persistence operations INFO memory

Real-world example
A rapidly growing startup plans their Redis infrastructure with generous memory headroom and a clear path to clustering if their dataset outgrows a single instance, avoiding a painful emergency migration later as their traffic scales.
Likely follow-ups
  • How much memory overhead should be planned for beyond the raw dataset size?
  • At what dataset size does it typically make sense to move from a single instance to a cluster?
Related topics