Cached data refreshing method and apparatus
A caching data and caching technology, applied in the direction of electrical digital data processing, special data processing applications, instruments, etc., can solve the problems of reducing overall system maintainability and stability, increasing dependence, increasing system complexity, etc., to ensure maintainability And scalability, reduce request time, reduce the effect of thread data consumption
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0086] In order to make the above objects, features and advantages of the present application more obvious and comprehensible, the present application will be further described in detail below in conjunction with the accompanying drawings and specific implementation methods.
[0087] Methods based on in-program synchronization locks (distributed locks are used in distributed environments) or other similar external exclusive mechanisms such as database row-level locks can specifically include the following methods:
[0088] 1. Blocking lock; the operation steps can be as follows:
[0089] a. The cache read thread finds that the cache data needs to be refreshed;
[0090] b. Request to acquire a lock;
[0091] c. If the acquisition of the lock fails, it will block and wait;
[0092] d. If the lock is acquired successfully, check again whether the cached data needs to be refreshed (secondary confirmation, avoiding that the previous cached reading thread has completed the refresh...
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