HA Redis раствор, кластер или Sentinel - PullRequest
0 голосов
/ 19 февраля 2019

Мне нужно решение HA Redis вместо одного экземпляра.Должен ли я использовать кластер или Sentinel?Я попытался выяснить разницу между ними, официального документа по этому поводу нет, спасибо большое.

1 Ответ

0 голосов
/ 09 апреля 2019

Ну, для решения Redis * HA , это зависит от количества узлов, которые вы хотите настроить.

В соответствии с официальной документацией Redis на Redis-cluster и Redis-sentinel оба обеспечивают HA Solution , но .....

Redis Sentinel provides high availability for Redis. In practical terms this means that using Sentinel you can create a Redis deployment that resists without human intervention to certain kind of failures.

Redis Cluster provides a way to run a Redis installation where data is automatically sharded across multiple Redis nodes.

Redis Cluster also provides some degree of availability during partitions, that is in practical terms the ability to continue the operations when some nodes fail or are not able to communicate. However the cluster stops to operate in the event of larger failures (for example when the majority of masters are unavailable).

Для получения дополнительной информациипожалуйста, обратитесь к официальным документам:)

Cheers

Добро пожаловать на сайт PullRequest, где вы можете задавать вопросы и получать ответы от других членов сообщества.
...