Method and device for updating cache data in distributed cache system

A technology for distributed caching and caching data, applied in database update, electronic digital data processing, structured data retrieval, etc., can solve problems such as low efficiency of cache data update

Pending Publication Date: 2020-10-23
SHANGHAI WANWUXINSHENG ENVIRONMENTAL PROTECTION TECH GRP CO LTD
View PDF7 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The purpose of this application is to provide a method and device for updating cached data in a distributed cache system to solve the technical problem of low efficiency in updating cached data in a distributed cache system 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
  • Method and device for updating cache data in distributed cache system
  • Method and device for updating cache data in distributed cache system
  • Method and device for updating cache data in distributed cache system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0035] The present invention will be described in further detail below in conjunction with the accompanying drawings.

[0036] In a typical configuration of the present application, each module and trusted party of the system includes one or more processors (CPU), input / output interface, network interface and memory.

[0037] Memory may include non-permanent storage in computer readable media, in the form of random access memory (RAM) and / or nonvolatile memory such as read only memory (ROM) or flash RAM. Memory is an example of computer readable media.

[0038] Computer-readable media, including both permanent and non-permanent, removable and non-removable media, can be implemented by any method or technology for storage of information. Information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynam...

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

Compared with the prior art, the invention discloses a method for updating cache data in a distributed cache system. The method includes the steps: when a triggering condition is satisfied, updating cache failure time and / or cache data corresponding to a cache keyword based on the cache keyword of the cache data of the distributed cache system, the cache failure time being updated based on currenttime and cache failure duration. The method guarantees that the distributed cache system reasonably keeps the storage duration of the hotspot cache data, and the low-frequency cache data can be removed in time, and the storage space utilization efficiency of the distributed cache system is improved while the cache data use efficiency of the distributed cache system is guaranteed.

Description

technical field [0001] The present application relates to the technical field of computer data processing, and in particular to a technique for updating cached data in a distributed cache system. Background technique [0002] In large-scale Internet applications, due to the requirements of high concurrent access, fast response, dynamic expansion, and easy maintenance, in order to reduce the burden on the database, a distributed cache system is usually used, such as redis (Remote Dictionary Server, remote dictionary service). When building a distributed cache system application, a reasonable expiration time is often set for the cache data stored in it. The cache system will regularly clean up the expired cache data and release the storage space occupied by the expired cache data to ensure Sustainability of the cache system. However, in a high-concurrency access scenario, when a large number of requests fail to obtain cached data due to cache data expiration and other reasons...

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/23G06F16/2455G06F16/27
CPCG06F16/2379G06F16/24552G06F16/27
Inventor 谷庆旭
Owner SHANGHAI WANWUXINSHENG ENVIRONMENTAL PROTECTION TECH GRP CO LTD
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