Redis cluster management method, device and equipment and readable storage medium

A cluster management and clustering technology, applied in the field of Redis cluster, can solve the problems of data integrity, high availability of Redis cluster cannot be guaranteed, Redis storage shard failover cannot be completed automatically, and Redis Sentinel is prone to exceptions, etc.
CN109769028APending Publication Date: 2019-05-17WEBANK (CHINA)

Patent Information

Authority / Receiving Office
CN Β· China
Current Assignee / Owner
WEBANK (CHINA)
Publication Date
2019-05-17

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
  • Figure 3
    Figure 3
Patent Text Reader

Abstract

The invention discloses a Redis cluster management method, which comprises the following steps of: when a data access request is monitored, determining a target data partition which is not downtime through a Redis cluster agent component and a data key value in the data access request; routing the data access request to the target data partition, and processing the data key value to obtain a hashslot number; and routing the data access request to a Redis node corresponding to the hash slot number in the target data partition. The invention also discloses a Redis cluster management device, equipment and a readable storage medium. According to the invention, the data integrity and high availability of the Redis cluster can be effectively ensured.
Need to check novelty before this filing date? Find Prior Art

Description

technical field

[0001] The present invention relates to the technical field of Redis clusters, in particular to a Redis cluster management method, device, equipment and readable storage medium. Background technique

[0002] Due to the limited memory management capability of a single Redis server, a failure of the Redis server will directly affect a large area of ​​business. In order to obtain better cache performance and scalability, a Redis cluster is built to meet the requirements. At present, Redis clusters are built mainly through Twemproxy and Redis Sentinel, that is, Twemproxy is a single-threaded proxy program that supports the Redis protocol. By introducing a proxy layer, it encapsulates the real Redis storage fragmentation at the back end, and implements Failover through RedisSentinel to ensure Redis storage fragmentation. High availability of slices.

[0003] However, the Redis cluster built by Twemproxy and Redis Sentinel belongs to the centralized management ar...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More