Chapter 8. Scaling Redis (Beyond a Single Instance)
This chapter will show alternative ways to scale Redis horizontally (using multiple instances rather than adding resources to a single instance) using concepts such as persistence, replication, and partitioning. Understanding these concepts is crucial to scale Redis beyond a single instance. By the end of this chapter, you should be able to work with multiple Redis instances and understand the trade-offs of each approach.
Persistence
Since the beginning of this book, we have talked a lot about storing your data in memory using Redis. Memory is transient. Therefore, if a Redis instance is shut down, crashes, or needs to be rebooted, all of the stored data will be lost. To solve this problem, Redis ...
Get Redis Essentials now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.