What is the difference between master and slave, sentry and cluster in redis?

what is the difference between master and slave, sentry and cluster in redis? What are the advantages? What scenarios are suitable for? How to choose in the actual work?

May.25,2021

Master-slave mode: backup data, load balancing, a Master can have multiple Slaves.
when sentinel finds that master is dead, it re-elects a master from slave.
cluster is to solve the problem of limited Redis capacity of a single machine, which distributes data to multiple machines according to certain rules.

sentinel focuses on high availability, and Cluster increases concurrency.

Menu