In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly introduces what goals the Redis cluster has achieved, which can be used for reference by friends who need it. I hope you will learn a lot after reading this article. Next, let the editor take you to learn about it.
Redis cluster is a distributed (distributed), fault-tolerant (fault-tolerant) Redis implementation, and the functions that can be used by clusters are a subset of the functions that can be used by ordinary stand-alone Redis (subset).
There are no central nodes or proxy nodes in the Redis cluster, and one of the main design goals of the cluster is to achieve linear scalability (linear scalability).
Redis clusters provide a way to run Redis, where data is automatically partitioned among multiple Redis nodes. The Redis cluster also provides a degree of availability during partitioning, that is, it can actually continue to run when some nodes fail or are unable to communicate. However, in the event of a major failure (for example, when most primary stations are unavailable), the cluster stops running.
A Redis cluster is a distributed implementation of Redis, which is a mesh structure in which each node connects to every other node through a TCP connection.
Now let's take a look at what the Redis cluster has achieved.
It still performs well at 1000 nodes and the scalability is linear. Asynchronous replication is used between clusters, and there is no merge operation.
Acceptable write security (Write safety) level: the system attempts to save all writes made by clients connected to most nodes. However, a small number of writes will be lost.
Availability: the Redis cluster can still perform partitions operations when the vast majority of master nodes (master node) are reachable and each unreachable master node has at least one of its slave nodes (slave) reachable.
So is there any functional difference between Redis cluster environment and non-distributed Redis environment?
The database of the cluster is only 0 and does not support SELECT.
Because the cluster distributes keys in different slot, copy operations involving multi-key values are not supported, such as unions and intersections operations in set.
Thank you for reading this article carefully. I hope it is helpful for everyone to share what the Redis cluster has achieved. At the same time, I also hope that you will support us, pay attention to the industry information channel, and find out if you encounter problems. Detailed solutions are waiting for you to learn!
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.