O'Reilly logo

Redis Essentials by Hugo Lopes Tavares, Maxwell Dayvson Da Silva

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required