Redis high-availability system based on QConf and method

An application program and cluster technology, applied in the computer field, can solve problems such as complex architecture, low availability, inconvenient maintenance, etc., and achieve the effect of low maintenance cost, high reliability, and improved availability

Active Publication Date: 2017-11-10
杭州铭师堂数字科技有限公司
View PDF7 Cites 21 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The existing high-availability scheme of Redis database has the following disadvantages: 1) Complex architecture: adopting complex architecture to achieve high availability of Redis reduces the availability of Redis database
2) Introducing new unstable factors: In order to achieve high availability of the Redis database, the middle layer is introduced, and the middle layer has the problem of low availability, resulting in low availability of the Redis database
3) Inconvenient maintenance: the high-availability architecture adopted greatly increases the cost of manual maintenance and is inconvenient to maintain
4) The high-availability solution is not stable enough to guarantee the availability of the Redis database

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 high-availability system based on QConf and method
  • Redis high-availability system based on QConf and method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0032] The present invention will be described in further detail below in conjunction with the accompanying drawings and specific embodiments.

[0033] like figure 1 As shown, the present invention provides a QConf-based Redis high-availability system, which includes five units: QConf management terminal, QConf client, QConf server, sentinel cluster node and Redis replication node.

[0034] (1) Redis copy node

[0035] Deploy Redis replication clusters on multiple servers. In order to ensure the availability of Redis services, the Redis master library and Redis slave library run on different servers. The port numbers of all members of each Redis replication cluster are the same, and different Redis replication clusters have different port numbers. After the Redis replication cluster is deployed, it interacts with the Sentinel cluster nodes to achieve high availability of the Redis database service.

[0036] (2) Sentinel cluster nodes

[0037] Run the sentinel cluster on mu...

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 discloses a Redis high-availability system based on QConf and a method. The system comprises a QConf management side, a QConf client side, a QConf server side, a sentry cluster node and a Redis duplication node. The QConf client side interacts with the QConf server side, obtains the newest QConf service node and analyzes the QConf service node. The QConf management side deploys QConf monitoring service and QConf management expansion. The sentry cluster node is a server for operating a sentry cluster. The sentry cluster is responsible for monitoring survival of a master library and a slave library in a Redis duplication cluster. According to the Redis high-availability architecture provided by the invention is simple and stable; the availability of the a Redis database is greatly improved; the maintenance is facilitated; the cost is very low; the Redis master and slave automatic switching is realized in a sentry mode; the technology is mature; the QConf is taken as an intermediate layer; and stability and reliability are achieved.

Description

technical field [0001] The invention belongs to the technical field of computers, is mainly applied to the application scene of the Redis database, and is used to improve the usability of the Redis database. Background technique [0002] For Internet companies, the Redis database is used more and more widely as a cache and high-performance storage solution, and the availability of Redis database services is becoming more and more important. The existing high-availability scheme of Redis database has the following disadvantages: 1) Complicated architecture: adopting complex architecture to realize high availability of Redis reduces the availability of Redis database. 2) Introducing new unstable factors: In order to achieve high availability of the Redis database, an intermediate layer is introduced, and the intermediate layer has the problem of low availability, resulting in low availability of the Redis database. 3) Inconvenient maintenance: The high-availability architectu...

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
Patent Type & Authority Applications(China)
IPC IPC(8): H04L29/08H04L12/24G06F17/30
CPCG06F16/27H04L41/0663H04L67/10
Inventor 顾伟涛
Owner 杭州铭师堂数字科技有限公司
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
Try Eureka
PatSnap group products