In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-23 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)06/01 Report--
This article will explain in detail about redis cluster, the content of the article is of high quality, so the editor will share it with you for reference. I hope you will have a certain understanding of the relevant knowledge after reading this article.
The so-called cluster is to add the number of servers to provide the same services, so as to make the servers achieve a stable and efficient state. The necessity of using redis clusters
Question: we have deployed redis and can launch a redis to read and write data, so why do we need to learn about redis clusters?
Answer: (1) instability exists in a single redis. When the redis service goes down, there are no services available.
(2) the reading and writing ability of a single redis is limited.
Summary: the purpose of redis cluster is to strengthen the reading and writing ability of redis.
Redis master-slave replication
There are multiple redis nodes in the master-slave replication model.
Among them, there is and only one primary node Master. There can be multiple slave node Slave.
As long as the network connection is normal, Master will always synchronize its own data updates to Slaves, keeping master-slave synchronization.
Characteristics
(1) the master node Master is readable and writable.
(2) Slave read-only from the slave node. (read-only)
Therefore, the master-slave model can improve the reading ability and alleviate the writing ability to some extent. Because there is still only one Master node that can write, all the read operations can be transferred to the slave node, which improves the writing ability in disguise.
So much for sharing about redis cluster. I hope the above content can be helpful to you and learn more knowledge. If you think the article is good, you can share it for more people to see.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.