Cluster cache sharing method, system and device and storage medium

A shared system and shared equipment technology, applied in transmission systems, digital transmission systems, instruments, etc., can solve problems such as cluster cache data consistency

Active Publication Date: 2020-04-17
JIANGSU MANYUN SOFTWARE TECH CO LTD
View PDF8 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In view of the problems in the prior art, the purpose of the present invention is to provide a cluster cache sharing method, system, equipment and storage medium, based on the heartbeat mechanism between service nodes to realize the mutual awareness of each service node in the cluster, to solve the cluster cache data consistency question

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
  • Cluster cache sharing method, system and device and storage medium
  • Cluster cache sharing method, system and device and storage medium
  • Cluster cache sharing method, system and device and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0048] Example embodiments will now be described more fully with reference to the accompanying drawings. Example embodiments may, however, be embodied in many forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete and will fully convey the concept of example embodiments to those skilled in the art. The described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments.

[0049] Furthermore, the drawings are merely schematic illustrations of the present disclosure and are not necessarily drawn to scale. The same reference numerals in the drawings denote the same or similar parts, and thus repeated descriptions thereof will be omitted. Some of the block diagrams shown in the drawings are functional entities and do not necessarily correspond to physically or logically separate entities. These functional entities ...

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 cluster cache sharing method, system and device and a storage medium, and the method comprises the steps that a newly added service node obtains a service node list from a registration center, and each service node in the service node list maintains heartbeat communication with a corresponding front service node; the newly added service node queries a front service node from the service node list; the newly added service node sends a heartbeat request to the front service node; and the newly added service node updates the service node list of the registration center. The invention provides a cluster cache comprising a plurality of service nodes; mutual perception of all the service nodes in the cluster is achieved based on a heartbeat mechanism among the service nodes, a complete service node list is maintained, the management of the service nodes is facilitated, and the problem of consistency of cache data of the cluster is solved.

Description

technical field [0001] The present invention relates to the technical field of data cache services, in particular to a cluster cache sharing method, system, device and storage medium. Background technique [0002] Commonly used caches in the field of back-end services are generally divided into two types, direct memory caches within services and third-party external caches. Internal cache frameworks currently include Guava, MapDB, etc. External caches such as Redis and Memcache. Among them, Guava is an open source Java library for providing caching functions. MapDB is an embedded java database engine that mainly provides data storage in the form of Map and set. Redis (Remote Dictionary Server, Remote Dictionary Service) is an open source log-type, Key-Value database written in ANSI C language, supporting the network, memory-based and persistent. Memcache is a distributed cache system. [0003] In the case of a single machine, frameworks such as Guava can manage cached d...

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): H04L29/08H04L12/26G06F16/23G06F16/2455G06F16/27
CPCH04L67/1095H04L43/10H04L43/0823G06F16/2365G06F16/24552G06F16/27
Inventor 张绍云
Owner JIANGSU MANYUN SOFTWARE 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