Asynchronous caching method, server and system

An asynchronous caching and server technology, applied in the direction of program control devices, to achieve the effect of reducing load pressure, reducing access pressure, and improving availability and stability

Inactive Publication Date: 2016-03-02
BEIJING CHESHANGHUI SOFTWARE
View PDF3 Cites 24 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 kind of asynchronous caching m

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
  • Asynchronous caching method, server and system
  • Asynchronous caching method, server and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0033] In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings. It should be understood that the specific embodiments described here are only used to explain the present invention, and are not intended to limit the present invention.

[0034] Such as figure 2 As shown, the asynchronous caching method provided by the embodiment of the present invention includes the following steps:

[0035] S1, the asynchronous cache server receives the user request and the function of accessing the source server as a delegation parameter;

[0036] S2, check whether there is asynchronous cache data consistent with the data requested by the user in the asynchronous cache server, if not, execute step S3, and if exist, execute step S7;

[0037] S3. The asynchronous cache server invokes the function of accessing the source server as a delegation p...

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 an asynchronous caching method, server and system, and relates to the technical field of caching. According to the technical scheme provided by the invention, data requested by a user are read from the asynchronous caching server and a source server, and are returned to the user, asynchronous caching data is formed by setting logic expiration time for source data while a response to a user request is completed, and the asynchronous caching data are stored into the asynchronous caching server, so that the update of the asynchronous caching server is realized; and meanwhile, whether the asynchronous caching data expire or not is judged by taking the logic expiration time as a reference, the source data are read after the asynchronous caching data expire, and the update is performed again in the asynchronous caching server. Through the two-time update of the asynchronous caching data, it can be ensured that 80%-90% of user requests only need to access to the asynchronous caching server and do not need to read the source server. With the adoption of the technical scheme provided by embodiments of the invention, the availability and stability of a system can be remarkably improved.

Description

technical field [0001] The present invention relates to the technical field of caching, in particular to an asynchronous caching method, server and system. Background technique [0002] At present, the use of caching technology to read data generally stores the data obtained from the database in the cache, and sets the physical time when the cache expires. When the request arrives, if there is the required data in the cache, the cached data will be returned. If there is no data in the cache (there is no cached data or the cached data has expired), then access the source database, such as figure 1 shown. [0003] Since the physical time for cache expiration is set relatively short, the cold data stored in the cache is relatively easy to expire, and the source database is accessed after the data in the cache expires, resulting in invalid or inefficient cache of cold data and a large number of high The operation of accessing the source database frequently brings great access ...

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): G06F9/44
Inventor 李林
Owner BEIJING CHESHANGHUI SOFTWARE
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