Configuring Redis Sentinel
Datastores provide capability in handling faulty scenarios. These capabilities are in-built and do not expose themselves in the manner in which they handle fault tolerance. Redis, which started with simple key value datastore, has evolved into a system which provides an independent node to take care of the fault management. This system is called Sentinel.
The idea behind Sentinel is that it's an independent node which keeps a track on the master node and the other slave nodes. When a master node goes down, it promotes the slave node to become the master. As discussed, in a master-slave scenario, master is meant to write and slaves are meant to read, so when a slave is promoted to master, it has the capability to read ...
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