Reader small image

You're reading from  Learning Redis

Product typeBook
Published inJun 2015
Reading LevelIntermediate
Publisher
ISBN-139781783980123
Edition1st Edition
Languages
Right arrow
Author (1)
Vinoo Das
Vinoo Das
author image
Vinoo Das

Vinoo Das has 16 years of experience in the software industry and has worked in various domains, such as telecom, banking, payment gateways, information management, and so on. He is highly motivated and loves to work on new and upcoming technologies. He is currently architecting a platform for an information technology giant, which will enable the company to position the platform at an enterprise level as well as a cloud solution.
Read more about Vinoo Das

Right arrow

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 and write. All the other slaves will become slave to this new slave turned master. The following figure shows how Sentinel works:

The working of Sentinel

Let's have an example now to demonstrate how Sentinel works as of Redis 2.6 Version. Sentinel has...

lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
Learning Redis
Published in: Jun 2015Publisher: ISBN-13: 9781783980123

Author (1)

author image
Vinoo Das

Vinoo Das has 16 years of experience in the software industry and has worked in various domains, such as telecom, banking, payment gateways, information management, and so on. He is highly motivated and loves to work on new and upcoming technologies. He is currently architecting a platform for an information technology giant, which will enable the company to position the platform at an enterprise level as well as a cloud solution.
Read more about Vinoo Das