A Distributed Cache Client Based on Metadata Management

A metadata, client-side technology, applied in the computer field, can solve the problems of cache reorganization, lower hit rate, and the client does not support the copy function, so as to reduce the IO bottleneck and achieve the effect of high performance.

Active Publication Date: 2015-08-05
深圳市远行科技股份有限公司
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The purpose of the present invention is to provide a distributed cache client based on metadata management, and implement the Memcached client in the way of metadata storage, which can solve the problem that in the distributed cache environment, when the number of cache nodes changes, or some When the cache node fails, the cache reorganization, the hit rate is greatly reduced, and the client does not support the copy function.

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
  • A Distributed Cache Client Based on Metadata Management
  • A Distributed Cache Client Based on Metadata Management

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0021] In order to make the technical problems, technical solutions and beneficial effects to be solved by the present invention clearer and clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

[0022] Such as figure 1 As shown, the present invention provides a distributed cache implementation system based on metadata management, including: a user 10, a cache client 20, and at least one cache node 30, wherein,

[0023] The cache client 20 is located between the user 10 and the cache node 30, and is used to receive and transfer the request of the user 10, and manage metadata information of multiple cache nodes 30 to realize distributed functions.

[0024] The cache node 30 is used to access data and is implemented by Memcached.

[0025] When t...

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 memcached client side based on metadata management. The memcached client side based on metadata management comprises a metadata management module, a heartbeat service module and a load balancing module, wherein the metadata management module is used for providing metadata support and managing the metadata; the heartbeat service module is used for sending heartbeat messages to cached nodes and recording and storing response time of the heartbeat messages to the metadata; and the load balancing module is used for determining optimal cached nodes according to the cached node storage conditions stored in the metadata and the cached node response time provided by the heartbeat service module and then downloading cached data from the optimal cached nodes. By the aid of a memcached implementation method and a memcached implementation system based on metadata management, the problems of cache reconstruction, substantial decrease of hit rate and nonsupport of the client side to a copy function caused by cached node number variation or failure of some cached nodes in a memcached environment can be solved.

Description

technical field [0001] The invention relates to the computer field, in particular to a distributed cache client based on metadata management. Background technique [0002] Distributed refers to a function implemented outside the core system through a cluster. Memcached is currently the most widely used distributed cache implementation. Although Memcached is a "distributed" cache server, there is no distributed function on the server side. Each Memcached node will not communicate with each other to share information, and the support for distributed depends entirely on the implementation of the client. [0003] The current Memcache client is generally distributed through resource pools. The resource scheduling algorithms mainly include "remainder calculation method" and "consistent hash calculation method". When changing, it will cause a large area of ​​cache reorganization, seriously affecting the cache hit rate. The complexity of the "consistent hash calculation method" ...

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 Patents(China)
IPC IPC(8): H04L29/08
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