Unlock instant, AI-driven research and patent intelligence for your innovation.

Key management method and related device thereof for Redis key value of remote dictionary server

A management method and server technology, which is applied in the field of remote dictionary server Redis key value Key management, can solve the problem of low efficiency of deleting multiple keys in batches, and achieve the effect of improving efficiency

Pending Publication Date: 2021-03-19
CHINA PING AN LIFE INSURANCE CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] At present, when deleting multiple keys in batches, JedisCluster provides the corresponding application program interface API, but if these keys exist in different slots (slots), the API for batch deleting keys provided by JedisCluster will throw an exception. To delete keys distributed on different Slots in batches, it is necessary to call the API of JedisCluster to delete a single key multiple times, and the efficiency of deleting multiple keys in batches is low

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 management method and related device thereof for Redis key value of remote dictionary server
  • Key management method and related device thereof for Redis key value of remote dictionary server
  • Key management method and related device thereof for Redis key value of remote dictionary server

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0031] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiment of the application will be clearly and completely described below in conjunction with the accompanying drawings in the embodiment of the application. Obviously, the described embodiment is only It is a part of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of this application.

[0032] The terms "first", "second" and the like in the specification and claims of the present application and the above drawings are used to distinguish different objects, rather than to describe a specific order. Furthermore, the terms "include" and "have", as well as any variations thereof, are intended to cover a non-exclusive inclusion. For example, a process, method...

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 embodiment of the invention discloses a Key management method and related device thereof for a Redis key value of a remote dictionary server. The method comprises the steps of obtaining a target attribute of a target instance and keys to be deleted corresponding to a plurality of slot slots; determining a connection pool according to the target attribute; determining a first corresponding relationship between the keys to be deleted and the connection pool; and deleting the keys to be deleted by using a pipeline according to the first corresponding relationship. According to the embodimentof the invention, through the corresponding relationship between the keys to be deleted and the connection pool, the keys to be deleted on all the slot slots are deleted by utilizing the pipeline, sothat the keys distributed on different slots can be deleted in batches, and the efficiency of deleting the keys in batches is improved.

Description

technical field [0001] The present application relates to the field of computer technology, in particular to a remote dictionary server Redis key value Key management method and related devices. Background technique [0002] A remote dictionary server (Redis) is a very widely used non-relational database in the industry at present. Its data is completely stored in memory, with extremely fast speed, simple data structure, and it supports clusters and is very easy to expand. Redis is an open source, written in C language of the American National Standards Institute (ANSI), supports the network, can be based on memory and can be persistent, log-type, key-value (key) database, and provides application programming interfaces (Application Programming Interface) in multiple languages. , API). Redis is a high-performance key-value database, similar to distributed cache (Memcached), it supports relatively more types of stored value (value), including string (string), linked list (li...

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): G06F16/21G06F16/28
CPCG06F16/211G06F16/28
Inventor 唐峰峰
Owner CHINA PING AN LIFE INSURANCE CO LTD