Server and server cache persistence method

A server caching and persistence technology, applied to instruments, structured data retrieval, special data processing applications, etc., can solve problems such as occupying too much memory and wasting CPU computing resources

Pending Publication Date: 2021-02-12
JUHAOKAN TECH CO LTD
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] In order to solve the problem of multiple Redis persisting at the same time, occupying too much memory, and wasting CPU computing resources in the server, this application provides a server and a server cache persistence method

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
  • Server and server cache persistence method
  • Server and server cache persistence method
  • Server and server cache persistence method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0018] Certain exemplary embodiments will now be described to provide an overall understanding of the principles of the structure, function, manufacture, and use of the devices and methods disclosed herein. One or more examples of these implementations are illustrated in the accompanying drawings. Those of ordinary skill in the art will appreciate that the devices and methods specifically described herein and illustrated in the accompanying drawings are non-limiting exemplary embodiments and that the scope of the various embodiments of the present invention is limited only by the claims Book limited. Features shown or described in connection with one exemplary embodiment may be combined with features of other embodiments. Such modifications and variations are intended to be included within the scope of the present invention.

[0019] Reference throughout this specification to "a number of embodiments," "some embodiments," "one embodiment," or "an embodiment" means that a par...

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 relates to the technical field of data synchronization, in particular to a server and a server cache persistence method. The problems that a plurality of Redis are persistent at the sametime, too much memory is occupied, and CPU computing resources are wasted can be solved to a certain extent. The server comprises a first controller configured to detect whether there is a second Redis performing persistence or not when the first Redis reaches a persistence condition; add the first Redis into a persistence waiting queue if the second Redis is performing persistence, and sequentially executing persistence in the persistence waiting queue by the first Redis according to a sequence; and otherwise, control the first Redis to carry out persistence.

Description

technical field [0001] The present application relates to the technical field of data synchronization, and in particular, to a server and a server cache persistence method. Background technique [0002] Redis (Remote Dictionary Server: Remote Dictionary Service) is a high-performance open source database with very high read and write performance. It can persist the key-value pair data stored in memory to the hard disk. Users can configure different databases according to actual usage scenarios. Persistence methods, common Redis persistence methods include RDB and AOF. [0003] In some implementations of server cache persistence, multiple Redis are usually deployed on the server, and each Redis supports RDB persistence. Each RDB will consume at most the same size of memory as Redis itself and occupy 1 core CPU when persisting. resource. [0004] However, when the server is running for a long time, multiple Redis will persist at the same time at the same time, so the server ...

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/27G06F16/2455
CPCG06F16/275G06F16/24552
Inventor 石开元张宏波吴连朋王宝云夏章抓
Owner JUHAOKAN TECH CO LTD
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