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

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 multiple cache nodes. Although it can be achieved by using the global lock of the existing technology, it increases the system complexity and processing time. extend

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

Embodiment Construction

[0028] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are some of the embodiments of the present invention, but not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts 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 of 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 metadata delivered by the central storage node in the first cache node, and ...

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 Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products