Unlock instant, AI-driven research and patent intelligence for your innovation.

Cache system hotspot data access method and device, equipment and storage medium

A hot data and caching system technology, applied in the computer field, can solve problems such as long response time of sharding, low access efficiency, and increased load of sharding

Active Publication Date: 2020-12-22
SUNING CLOUD COMPUTING CO LTD
View PDF3 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] Redis is a distributed K-V (key-value key-value pair) cache system widely used by enterprises. When accessing the system, it will calculate a fragment according to the hash (hash function) of the key (key) to store Take this K-V. However, in practical applications, during some peak hours, a large number of requests for the same Key (maybe corresponding to a certain promotional product, hot news, hot comments, etc.) of the application, this key can be called a hot key, according to the hot key hash, all access requests will fall into the same shard, and the load on this shard will be severely increased, resulting in long response time of shards and low access efficiency

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
  • Cache system hotspot data access method and device, equipment and storage medium
  • Cache system hotspot data access method and device, equipment and storage medium
  • Cache system hotspot data access method and device, equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0038] In order to make the purpose, technical solution and advantages of the present application clearer, the present application 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 application, and are not intended to limit the present application.

[0039] The cache system hotspot data access method provided by this application can be applied to such as figure 1 shown in the application environment. Wherein, the terminal 102 communicates with the server 104 through the network. . Wherein, the terminal 102 can be, but not limited to, various personal computers, notebook computers, smart phones, tablet computers and portable wearable devices, and the server 104 can be realized by an independent server or a server cluster composed of multiple servers.

[0040] Specifically, the terminal 102 obtains the access request ...

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 relates to a cache system hotspot data access method and device, computer equipment and a storage medium. The method comprises the following steps: receiving an access request of a cachesystem, wherein the access request carries a to-be-accessed data identifier; when the to-be-accessed data corresponding to the to-be-accessed data identifier is in the candidate hotspot data list, obtaining a preset routing scheduling rule; and routing the access request to a target fragment according to a preset routing scheduling rule, responding the access request through the target fragment,acquiring an access result corresponding to the to-be-accessed data identifier, wherein the target fragment is not a fragment specially used for processing the access request corresponding to the to-be-accessed data identifier. By adopting the method, the flow of the fragment where the hotspot key is located can be dispersed, so that uniform access of the hotspot key is realized, and the access efficiency of the cache system is improved.

Description

technical field [0001] The present application relates to the field of computer technology, in particular to a cache system hotspot data access method, device, computer equipment and storage medium. Background technique [0002] Redis is a distributed K-V (key-value key-value pair) cache system widely used by enterprises. When accessing the system, it will calculate a fragment according to the hash (hash function) of the key (key) to store Take this K-V. However, in practical applications, during some peak hours, a large number of requests for the same Key (maybe corresponding to a certain promotional product, hot news, hot comments, etc.) of the application, this key can be called a hot key, according to the hot key hash, all access requests will fall into the same shard, and the load on this shard will be severely increased, resulting in long response time and low access efficiency. Contents of the invention [0003] Based on this, it is necessary to address the above-m...

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): G06F16/2455G06F3/06
CPCG06F16/24552G06F3/0611G06F3/0656G06F3/0644G06F3/067
Inventor 段涛王帆罗岳陈冬余文华
Owner SUNING CLOUD COMPUTING CO LTD