Eureka AIR delivers breakthrough ideas for toughest innovation challenges, trusted by R&D personnel around the world.

Redis cluster processing method and device, electronic equipment and computer readable storage medium

A processing method and computer technology, applied in the directions of calculation, program control design, multi-programming device, etc., can solve the problems of occupying resources, increasing the number of equipment, and increasing maintenance costs, so as to avoid waste, avoid increase, and avoid maintenance costs. Effect

Pending Publication Date: 2021-02-12
CHINA CITIC BANK
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] In the existing technology, for the Redis cluster, when multiple Redis master nodes go down at the same time, the master-slave nodes cannot be switched. Under the existing processing mechanism, this defect is hard to avoid
In order to avoid the above defects, the number of Redis master nodes is usually increased to reduce the probability that the number of Redis master nodes downtime exceeds half of the Redis master nodes at the same time; but this method will increase the number of devices and increase the maintenance cost of the product
Moreover, in the prior art, when managing a Redis cluster, it usually needs to be scheduled through a resource pool or a management center. In this way, due to the introduction of other devices or machines, additional resources are required, and trigger-type automatic generation cannot be achieved. , Start on demand, thus wasting system resources
Moreover, in the prior art, third-party functional module components are usually introduced to process the Redis cluster, resulting in increased maintenance costs

Method used

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
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Redis cluster processing method and device, electronic equipment and computer readable storage medium
  • Redis cluster processing method and device, electronic equipment and computer readable storage medium
  • Redis cluster processing method and device, electronic equipment and computer readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0055] The present application proposes a Redis cluster processing method, device, electronic equipment, and computer-readable storage medium. The specific implementation of the present application will be described in detail below in conjunction with the accompanying drawings.

[0056] Embodiments of the present application are described in detail below, examples of which are shown in the drawings, wherein the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below by referring to the figures are exemplary only for explaining the present application, and are not construed as limiting the present application.

[0057] Those skilled in the art will understand that unless otherwise stated, the singular forms "a", "an", "said" and "the" used herein may also include plural forms. It should be further understood that the word "comprising" used in the specification of the pres...

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

PUM

No PUM Login to View More

Abstract

The invention relates to the technical field of online transaction, in particular to a Redis cluster processing method and device, electronic equipment and a computer readable storage medium. According to the Redis cluster processing method, a Redis cluster comprises at least three Redis main nodes, each Redis main node is deployed on a host, and the Redis cluster processing method comprises the following steps: determining current state information of the Redis cluster; if it is determined that the current state information of the Redis cluster is that no less than half of the Redis main nodes in the at least three Redis main nodes are offline, obtaining hosts corresponding to the Redis main nodes which are not offline; configuring a Redis side standby node on the host corresponding to the Redis main node which is not offline, wherein the Redis side standby node is a replacement node corresponding to the Redis main node which is offline; and replacing the offline Redis main node withthe Redis side standby node to serve as the Redis main node, and determining the current state information of the new Redis cluster. According to the invention, the Redis side standby nodes are introduced, so that the Redis cluster function is recovered to be normal when the host corresponding to more than half of the Redis main nodes is in downtime.

Description

technical field [0001] The present application relates to the technical field of online transactions, and in particular to a Redis cluster processing method, device, electronic equipment and computer-readable storage medium. Background technique [0002] In the prior art, for the Redis cluster, when multiple Redis master nodes go down at the same time, the master-slave nodes cannot be switched. Under the existing processing mechanism, this defect is hard to avoid. In order to avoid the above defects, the number of Redis master nodes is usually increased to reduce the probability that more than half of the Redis master nodes will be down at the same time; but this method will increase the number of devices and increase the maintenance cost of the product. Moreover, in the prior art, when managing a Redis cluster, it usually needs to be scheduled through a resource pool or a management center. In this way, due to the introduction of other devices or machines, additional resour...

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

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F9/48G06F9/50
CPCG06F9/4856G06F9/5027G06F9/5022G06F2209/5012
Inventor 李鑫
Owner CHINA CITIC BANK
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Eureka Blog
Learn More
PatSnap group products