Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Key value management system and method based on salt stack and Redis

A management system and key value technology, applied in the computer field, can solve the problems of insufficient single or multiple key value support, inability to recover, low operation efficiency, etc., to reduce labor maintenance costs, comprehensive functions, and improve work. The effect of efficiency

Active Publication Date: 2018-02-13
杭州铭师堂数字科技有限公司
View PDF7 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] 1) Generally, it is an operation for all key values, and the support for single or multiple key values ​​is not good enough
[0004] 2) The operation efficiency is low and more labor costs are required
[0005] 3) The operation risk is relatively large, and recovery cannot be achieved

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
  • Key value management system and method based on salt stack and Redis
  • Key value management system and method based on salt stack and Redis

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

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

[0040] Such as figure 1 As shown, the present invention provides a Saltstack-based Redis key-value management system, which includes three units: a database node, a storage node and a management node.

[0041] (1) Database nodes: Deploy Redis master-slave clusters on database nodes. Each Redis master-slave cluster includes a master library and one or more slave libraries. In each Redis master-slave cluster, the port numbers of the master library and the slave library are the same , different Redis master-slave clusters have unique port numbers; at the same time, deploy the saltstack client on the database node as follows:

[0042] #yum install salt-minion –y

[0043] Then, modify the following line in the / etc / salt / minion file:

[0044] master: Saltstack management IP

[0045] How to start the saltstack client:

[0046] #service ...

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 key value management system and method based on salt stack and Redis. The system comprises a managed node, a database node and a storage node. The database node is a node which runs Redis primary and secondary clusters; salt stack client sides require to be deployed on servers of a Redis primary library and a Redis secondary library; the storage node stores Redis key value data, Redis key value recovery operation is facilitated, and the salt stack client sides are deployed; the managed node stores Redis primary and secondary cluster meta information, key value back-upmeta information, storage node meta information and database node meta information, and Web application service and a salt stack management end are deployed; and corresponding commands are transmitted to the salt stack client sides of the storage node through the salt stack management end, key value back-up files are transmitted, and thus, back-up and recovery operation is simplified. Examination, back-up, deleting and recovery operations of single or multiple key values are supported. The method is simple to operate, and one-touch operation can be implemented after an interface of a platformis filled with a small amount of information. Safe and reliable operation is implemented, the working efficiency is improved, and the manual maintenance cost is reduced.

Description

technical field [0001] The invention belongs to the field of computer technology and is applied to the application scene of Redis database, mainly aimed at the management of viewing, backup, deletion and restoration of single or multiple key values, simplifying the operation process and greatly improving the operation efficiency. Background technique [0002] For Internet companies, the Redis database is used more and more widely as a cache and high-performance storage solution. Due to different businesses, the requirements for Redis operations vary widely. The number of operations for single or multiple key values ​​is also increasing day by day. However, The existing Redis key-value management scheme has the following disadvantages: [0003] 1) Generally, it is an operation for all key values, and the support for single or multiple key values ​​is not good enough. [0004] 2) The operation efficiency is low, requiring more labor costs. [0005] 3) The operation risk is r...

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): G06F17/30
CPCG06F16/2282G06F16/25G06F16/27G06F16/284
Inventor 顾伟涛于伟
Owner 杭州铭师堂数字科技有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products