Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Consistency cache control system and method

A cache control and consistency technology, applied in the direction of inter-program communication, multi-program device, etc., can solve the problems of inconsistency of standards, users' inability to obtain valid data in time, and inability to grasp

Active Publication Date: 2016-01-27
BEIJING CHESHANGHUI SOFTWARE
View PDF4 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Therefore, system technicians cannot grasp the exact time when the data is updated to the foreground; in addition, since each module only starts from its own performance optimization needs, the standards may be inconsistent when evaluating the life cycle of a piece of data, and each sub-module The life cycle of inter-system evaluation may eventually produce superimposed effects, resulting in data that should have survived for 10 minutes and expired, but the actual survival time may reach N*10 minutes, resulting in users being unable to obtain valid data in a timely manner

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
  • Consistency cache control system and method
  • Consistency cache control system and method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0023] Such as figure 1 As shown, the embodiment of the present invention provides a kind of coherent cache control system, including sequentially connected: RestWebAPI server, Web application server, proxy server and user, and described RestWebAPI server, Web application server and proxy server all include caching mechanism, The RestWeb API server, the Web application server and the proxy server agree to have a unified cache data expiration time.

[0024] The process of the system to achieve unified cache control is as follows:

[0025] First, the RestWebAPI server is used as a data source to estimate the update time of the next data through the data update module, and the server controls the life cycle of its own data according to the update time of the next data;

[0026] Then, the RestWebAPI server transmits the update time of the next data, that is, the expiration time or invalidation time of the last data, to the Web application server, and the Web application server co...

Embodiment 2

[0037] Such as figure 2 As shown, the embodiment of the present invention provides a consistent cache control method, including the following steps:

[0038] S1, the RestWebAPI server estimates the update time of the next data, and controls the life cycle of its own data according to the update time of the next data;

[0039] S2, the Web application server reads the update time of the next data from the RestWebAPI server, and controls the life cycle of its own data according to the update time of the next data;

[0040] S3, the proxy server reads the update time of the next data from the web application server, and controls the life cycle of its own data according to the update time of the next data;

[0041] S4. The proxy server transmits the update time of the next data to the user.

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 present invention discloses a consistency cache control system and method, and relates to the technical field of data caches. According to the technical scheme, a next data updating time is estimated by means of a data source updating module; a next unified data updating time point is placed into an http response request header; and the time point is read by each sub-module, system and server and uniformly used as a cache life end of last data. Therefore, after next data update, last cached data of each module can be accurately and uniformly voided, so that unified control of a cache between each level and heterogeneous system can be implemented, and a cached-data life-cycle superposition problem will not be caused, which makes updated data promptly reach a requesting client from a server in time, thereby enabling a user to obtain valid data in time.

Description

technical field [0001] The invention relates to the technical field of data cache, in particular to a consistent cache control system and method. Background technique [0002] In actual software development, in order to solve the performance problem of the server responding to high concurrent requests, technical developers usually use data caching to reduce the performance bottleneck of the system and ultimately increase the speed of the system processing requests. [0003] Adding data cache does play a big role in system performance optimization. However, in the prior art, when each module performs cache control, it often only considers the performance pressure of this module, and according to the performance optimization requirements of this module, each Evaluate the length of a data life cycle and solve the performance bottleneck problem of this module itself. For high-concurrency commercial websites, the requirements are often complex, the number of modules, subsystems,...

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): G06F9/54
Inventor 冯岩
Owner BEIJING CHESHANGHUI SOFTWARE
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products