Distributed cache method and system

A distributed cache and cache node technology, applied in the field of communication, can solve problems such as increasing system complexity and processing delay, and achieve the effect of avoiding redundant storage, saving storage space, and ensuring consistency

Active Publication Date: 2013-04-03
浙江杭海新城控股集团有限公司
View PDF4 Cites 28 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

When establishing operations on different key values ​​for write operations, it is necessary to maintain the consistency of metadata information stored by multi

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
  • Distributed cache method and system
  • Distributed cache method and system
  • Distributed cache method and system

Examples

Experimental program
Comparison scheme
Effect test

Example Embodiment

[0028] The technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the protection scope of the present invention.

[0029] figure 1 It is a flowchart of a distributed caching method according to an embodiment of the present invention. figure 1 The method is executed by the distributed cache system.

[0030] 101. Determine a first cache node according to a primary key value of metadata, and determine a second cache node according to a secondary key value of metadata.

[0031] 102. Store the metadata issued by the central storage node in the first cache node, store the location i...

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 provides a distributed cache method and system. The method comprises the following step: determining a first cache node according to a primary key value of metadata, and determining a second cache node according to a secondary key value of the metadatathe; and storing metadata issued by center storage node in the first cache node and storing index position of the metadata in the second cache node, wherein the index position of the metadata is used for indicating addresses of the first cache node. According to the invention, the access of the metadata can be achieved by the index position of the metadata, so that the same metadate stored in a plurality of cache nodes is avoided, thereby avoiding redundant storage of the metadata, saving storage space and ensuring the data access consistency.

Description

technical field [0001] The embodiments of the present invention relate to the technical field of communications, and more specifically, to a distributed caching method and system. Background technique [0002] The data processed by modern application systems is growing rapidly, and a large amount of centralized data processing is evolving to distributed processing. In a distributed system, the data is distributed and stored on multiple nodes, and the storage and computing capabilities are expanded by adding nodes. However, multi-node storage of data needs to solve the problem of data consistency on each node. The problem of consistency is to solve the synchronization between multiple copies. For example, a system that requires read and write operations on multiple replica nodes requires distributed locks or global locks to achieve data update consistency, which greatly affects system real-time performance and performance, and increases system complexity. [0003] In the di...

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
IPC IPC(8): G06F12/08G06F17/30G06F3/06
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