Cache refreshing method and device
A new method and caching technology, applied in the field of financial technology, can solve the problems of inconsistent cached data, difficulty in maintaining data consistency, and dysfunction.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
example 1
[0068] In the previous example, service node 1 and service node 2 in the distributed system constitute a quota product (that is, an application service). The application service corresponds to database 1 as an example. Assuming that the user updates database 1 at 2 minutes and 0 seconds, then the service After any service node in node 1 or service node 2 detects that database 1 is updated this time, the service node can update the timestamp corresponding to 2 minutes and 0 seconds to the begin_time field of the cache refresh time stamp table, so that At 2 minutes and 15 seconds, service node 1 and service node 2 read the refresh start time from the begin_time field of the cache refresh time stamp table of database 1 as 2 minutes and 0 seconds, and the two service nodes set the refresh start time to 2 minutes and 0 seconds Compared with its own current time of 2 minutes and 15 seconds, if the difference is determined to be less than the first set threshold, such as 30 seconds, b...
example 2
[0070] In the previous example, service node 1 and service node 2 in the distributed system constitute a quota product (i.e. application service). The application service corresponds to database 1 as an example, set at 2 minutes and 0 seconds, service node 1 and service node 2 None of the service nodes detects that database 1 has been updated, so neither service node 1 nor service node 2 needs to update the value of the begin_time field in the cache refresh time stamp table, which means that the begin_time in the cache refresh time stamp table The value of the field is at least 1 minute and 30 seconds (or an earlier time before 1 minute and 30 seconds), then at 2 minutes and 15 seconds, service node 1 and service node 2 refresh the begin_time of the time stamp table from the cache of database 1 The field reads that the refresh start time is 1 minute and 30 seconds, and the two service nodes compare the refresh start time of 1 minute and 30 seconds with their own current time of...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com