Redis cluster mass data quick cleaning system and method based on message queue

A technology for message queues and massive data, applied in the computer field, can solve problems such as being unable to meet the needs of cleaning massive data, affecting the normal operation of production environment services, affecting the normal operation of production environment services, etc.

Active Publication Date: 2017-12-15
杭州铭师堂数字科技有限公司
View PDF10 Cites 24 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] 1) The cleaning speed is slow, unable to meet the needs of cleaning up massive data in a short period of time, thus affecting the normal operation of production environment services
[0004] 2) It has a great impact on Redis cluster services. For high-concurrency Redis clusters, cleaning up massive data will affect the normal operation of the production environment business
[0005] 3) Poor ease of use, high requirements on the ability of operators, and poor operation convenience

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 mass data quick cleaning system and method based on message queue
  • Redis cluster mass data quick cleaning system and method based on message queue

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

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

[0034] like figure 1 As shown, a message queue-based Redis cluster massive data fast cleaning system provided by the present invention includes four units of Redis cluster node, message queue node, temporary cache node and management node.

[0035] (1) Redis cluster node

[0036] Deploy the Redis cluster service on different servers, at least three Redis master libraries, and each Redis master library has at least one slave library. Different Redis master libraries have different ports. The Redis master library and the corresponding slave library ports are the same, respectively. Deployed on different servers to improve the availability of the Redis cluster.

[0037] Then record the IP and port of the Redis main library of all fragments of the Redis cluster to the Redis cluster meta information, and set the cluster identifier as the...

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 cluster mass data quick cleaning system and method based on a message queue. The system includes a management node, a Redis cluster node, a message queue node and a temporary cache node; for the Redis cluster node, Redis cluster services are deployed on different servers, at least three Redis primary libraries are deployed, and each Redis primary library correspond to at least one Redis secondary library; for the message queue node, message queue distributed clusters are deployed on the different servers to serve as intermediate vectors used for processing Redis key values; for the temporary cache node, a Pika primary library and a Pika secondary library are deployed on the two servers respectively and used for storing cleaned Redis cluster data; for the management node, all metainformation is stored, at the same time, the Web application service is deployed, a Redis cluster, a message queue cluster and the Pika primary library are accessed, and the Redis key values are deleted. The processing speed of the system is close to the memory level speed, mass data can be quickly cleaned, the system is easy and reliable to use and has little influence on a Redis cluster service, and data roll-backing can be achieved through one click.

Description

technical field [0001] The invention belongs to the technical field of computers, is mainly applied to the application scene of a Redis database, and is used for quickly cleaning up massive data of a Redis cluster. Background technique [0002] For Internet companies, the Redis database is used more and more widely as a cache and high-performance storage solution, especially the Redis cluster, which has been widely used due to its support for distributed high availability and horizontal expansion. However, the characteristics of Redis clusters determine the complexity of cleaning up massive data. Existing data cleaning solutions for Redis clusters have the following disadvantages: [0003] 1) The cleaning speed is slow and cannot meet the demand for cleaning massive data in a short period of time, thus affecting the normal operation of production environment services. [0004] 2) It has a great impact on Redis cluster services. For high-concurrency Redis clusters, cleaning ...

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): G06F3/06H04L29/08
CPCH04L67/1097G06F3/0607G06F3/061G06F3/0659G06F3/067H04L67/568
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