A redis cluster method based on zookeeper
A cluster and algorithm technology, applied in digital transmission systems, data exchange networks, electrical components, etc., can solve problems such as cluster performance loss, achieve dynamic expansion and contraction, and realize the effect of automatic data migration capabilities
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0018] Below in conjunction with the accompanying drawings, the specific implementation of the present invention will be further described, but the implementation and protection of the present invention are not limited thereto. technically understood or realized.
[0019] In this example, a ZooKeeper-based Redis cluster method such as figure 1 As shown, the following points will be described in detail.
[0020] 1. Data fragmentation information maintenance
[0021] In this example, the data sharding information is handed over to the third-party middleware ZooKeeper for maintenance, and the consistency provided by ZooKeeper is used to ensure that all clients can see consistent information. When the information changes, it can be notified and updated in time to realize the dynamic change of the cluster. figure 2 Describes how data shard information is organized in ZooKeeper. The znode node named node name represents the information of a Redis cluster. Node 1 to node N under...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


