Lightweight cross-host cache refreshing method and device
A cross-host, lightweight technology, applied in the computer field, to achieve the effect of ensuring the amount of interactive data, reducing pressure, and ensuring pressure
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment
[0059] The lightweight cross-host cache refresh method of the present invention uses an asynchronous refresh mechanism for the database cache information of each application program under the condition of distributed deployment of the same database application program under the condition of ensuring low database interaction; specific steps as follows:
[0060] S1. Application database registration: The application registers the cache refresh record of the program with the database, and each cache information registers the cache information record with the cache management logic; the specific steps are as follows:
[0061] When the application starts, it calls RegisterDBCacheInfo(string machineID, stringprogramID,...) to update the cache record of the current application on the current host to the database table.
[0062] S2, obtain database configuration data from the cache; as attached figure 2 As shown, the specific steps are as follows:
[0063] S201. Call GetFreshFlag(string clas...
Embodiment 2
[0080] The lightweight cross-host cache refreshing device of the present invention includes,
[0081] The database table is used to store host information; the host information stored in the database table includes host identification information, application identification information, refresh identification information, and last refresh time information.
[0082] The database table structure is as follows:
[0083] Serial number Column name Description 1 MachineID Host ID (uniquely identify a host) 2 ProgramID Application ID (uniquely identify an application on a host) 3 FreshFlag Refresh logo (identify whether the application needs to refresh the cache) 4 LastFreshTime Last refresh time (the last time to check whether it needs to be refreshed) 5 … …
[0084] The application module is used to store cache registration information and periodically obtain the information about whether to refresh the cache; the application module includes,
[0085] The application cache registratio...
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