ravindrab
ravindrab

Reputation: 2772

Redis - Do I need to have sentinel when clustering is there?

I have a working Redis sentinel setup already (master, slave and 3 sentinels). I am planning to set up a redis cluster with 3 masters & 3 slaves.

Can I get rid of sentinel set up when I have redis clustering? If not how would the set up look like?

Upvotes: 1

Views: 1099

Answers (1)

thepirat000
thepirat000

Reputation: 13114

You don't need Sentinel when using Redis cluster.

Redis Cluster perform automatic failover if any problem happens to any master instance.

From Redis Essentials book:

Redis Sentinel and Redis Cluster share a lot of characteristics, but each has its own goal. Sentinel's goal is to provide reliable automatic failover in a master/slave topology without sharding data. Cluster's goal is to distribute data across different Redis instances and perform automatic failover if any problem happens to any master instance.

Upvotes: 4

Related Questions