Method and device for refreshing cached data
A caching data and caching technology, applied in database update, structured data retrieval, etc., can solve problems such as increasing system complexity, reducing overall system maintainability and stability, increasing dependence, etc., to reduce thread data consumption and ensure maintenance Performance and scalability, and the effect of reducing request time
- 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