Construction method and system of Redis cluster

A construction method and cluster technology, applied in the computer field, can solve the problems of increasing human resource consumption and time cost, reducing the efficiency of cluster construction, etc.

Active Publication Date: 2020-05-05
BOCO INTER TELECOM
View PDF8 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

It can be seen that using the existing Redis cluster construction method requires manual completion of a large number of construction links, there...

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
  • Construction method and system of Redis cluster
  • Construction method and system of Redis cluster
  • Construction method and system of Redis cluster

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0065] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0066] The embodiment of the present invention discloses a method for constructing a Redis cluster, please refer to the attached figure 1 , the method specifically includes the following steps:

[0067] S101: The Redis instance management server sends the Redis instance startup configuration template acquired from the Zookeeper server to multiple target servers, and controls the startup of the Redis instance on the target server based on the Redis instance sta...

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 provides a construction method and system of a Redis cluster. A pre-stored Redis instance starting configuration template is acquired from a Zookeeper server through a Redis instance management server, so thata target server can be controlled to automatically start the Redis instance, and manual configurationis avoided; then, the Redis instance management server sends starting success information fed back after the target server starts the Redis instance to the Zookeeper server for recording, so that the Redis cluster management server obtains the starting success information from the Zookeeper server in real time according to the starting success information; and whether the number of the main node starting success information reaches the first preset starting number is judged, and if yes, multiple target servers corresponding to the starting success information are automatically constructed into the Redis cluster. Thus, the human resource consumption and the time cost in the cluster construction process are effectively reduced, and the cluster construction efficiency is improved.

Description

technical field [0001] The present invention relates to the field of computer technology, and more specifically, relates to a method and system for constructing a Redis cluster. Background technique [0002] For Internet companies, in order to improve the response speed of the website, it is customary in business to save hot data with high traffic volume in memory instead of directly storing it in the back-end database. Redis's stability and support for persistence have gradually become the most widely used memory in the industry for storing hot data. [0003] Since single-machine Redis is prone to problems such as insufficient memory and excessive concurrent traffic, the construction of Redis clusters is very common. At present, the most commonly used Redis cluster construction method is to manually deploy the Redis program on each machine, modify the configuration file in the Redis program, and then start the Redis program on each machine, and then manually start the Redi...

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): H04L29/08H04L12/24
CPCH04L67/10H04L41/0803Y02D10/00
Inventor 高彦夫陈丹王春生
Owner BOCO INTER TELECOM
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