Distributed cache control method, system and device

A technology of distributed cache and control device, applied in the field of communication, can solve the problems of unbalanced utilization of system server resources, unbalanced data access rate, etc., and achieve the effects of avoiding idleness of cache server resources, improving utilization rate, and balancing server resources.

Active Publication Date: 2014-01-22
上海锐山网络有限公司
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0012] In view of this, the embodiments of the present invention provide a distributed cache control method, system and device, which are used to solve the problem of unbalanced utilization of system server resources caused by unbalanced data access rates in the prior art

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0045] Embodiment 1 of the present invention provides a distributed cache control method. The main technical principles of the method include: in a distributed cache environment, combined with the data access rate corresponding to the cache to realize dynamic control of the cache, for example, Increase or decrease the number of caches according to the data access rate corresponding to the cache. By pre-increasing the number of caches with high data access rates and reducing the number of caches with low data access rates, the stability of the entire system can be effectively improved, and it can cope with large concurrent data access requests, reducing the number of caches due to unbalanced cache storage. The problem of discarding data access requests or putting data access requests in the processing queue for too long has improved the response efficiency of data access requests.

[0046] image 3 It shows a schematic structural diagram of a distributed cache system to which ...

Embodiment approach 1

[0072] When the determined control method is to increase the number of caches corresponding to the cache information to be controlled, determine the cache server information that meets the control conditions corresponding to the control method, including:

[0073] According to the stored correspondence between each cache information and cache server information, determine the cache server information other than the cache server information corresponding to the cache information to be controlled as at least one cache server information that satisfies the control condition corresponding to the control mode. According to this method, when the control method is to increase the number of caches corresponding to the cache information to be controlled, a cache server can be selected from cache servers other than the cache server that has saved the cache to control the cache, that is Create that cache.

[0074] When the determined control mode is to reduce the number of caches corresp...

Embodiment approach 2

[0077] In the second preferred embodiment, it is necessary to obtain the load information of each cache server in advance. Specifically, the load information of each cache server may be acquired periodically by the cache control server, or may be actively reported by each cache server periodically. Each cache server actively reports, and after receiving the load information reported by the cache server, the cache control server determines whether the load information of the cache server has been saved, and if so, updates the saved load information of the cache server, and if not, adds The load information of this cache server. Correspondingly, in order to meet the requirement of reporting load information to the cache control server, each cache server can be equipped with a module for obtaining its own load information. This module can obtain its own load information, and actively or based on The instruction of the cache control server is reported to the cache control server. ...

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 discloses a distributed cache control method, system and device. The distributed cache control method comprises the steps of: determining the data access rate corresponding to each cache according to the time of respective access of each cache; determining the information of caches to be controlled and the control mode of the information of caches to be controlled according to the relationship between the data access rate corresponding to each cache and a set threshold; and determining the information of a cache server of control condition corresponding to the control mode of the information of caches to be controlled according to the determined information of each cache to be controlled, and instructing the cache server corresponding to the determined cache server information to control the caches corresponding to the information of caches to be controlled according to the control mode of information of caches to be controlled. According to the technical scheme disclosed by the invention, the caches can be controlled dynamically according to the access time of each cache, the problems of idle resources or overload of the cache server caused by unbalanced data access rate can be avoided, and the resources of the server can be balanced.

Description

technical field [0001] The present invention relates to the field of communication technologies, and in particular to a distributed cache control method, system and device. Background technique [0002] In the field of Internet applications, data caching technology is very important, not only to ensure the reliability of data caching, but also to ensure the performance and response speed of data caching. With the substantial increase in the amount of data, users, and concurrency of various systems, more and more systems use caching technology to improve system capacity, but pure local caching or stand-alone caching has limited resources to improve system capacity. , therefore, distributed caching emerged as the times require and has become the mainstream application for improving system capacity. [0003] figure 1 shows a schematic diagram of the structure of the distributed cache system, such as figure 1 As shown, the distributed cache system includes: an access terminal...

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