Optimizing replication
In the previous recipe, we talked about the basic workflow of Redis replication and learned how to set up a master-slave replication in Redis. While setting up replication is quite simple, there are many critical configuration parameters for Redis replication which deserve your special attention. Moreover, some default values of these parameters may even cause performance issues under certain circumstances. In the following two recipes of this chapter, we are going to discuss these configurations for the optimization and troubleshooting of Redis replication.
In this recipe, we will delve into a key parameter called repl-backlog-size to see how to tweak it in order to achieve a better performance for Redis replication ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access