Cache processing method, electronic equipment and computer storage medium
A processing method and caching technology, applied in computing, memory systems, electrical and digital data processing, etc., can solve problems such as unsupportable, poor scalability, and expanding caching strategies, and achieve the effect of improving flexibility and increasing scalability.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0026] The embodiment of the present application provides a cache processing method, figure 1 For a schematic flowchart of an optional cache processing method provided by the embodiment of this application, refer to figure 1 As shown, the above cache processing method may include:
[0027] S101: Obtain the CRUD operation for the cache to be operated;
[0028] At present, caches are divided into three categories: distributed caches, such as redis, local caches, such as caffine, and custom implementation caches. Among them, for distributed caches, due to the complexity of distributed cache configuration, the application program interface (API , Application Programming Interface) are numerous, which makes the simple cache usage scenarios extremely complicated; for local caches, the scalability of local caches is poor, and it is difficult to complete the implementation of custom cache strategies; when using local custom caches, most Some developers use a simple key-value pair st...
Embodiment 2
[0115] Figure 5 Schematic diagram of the structure of an electronic device provided in the embodiment of this application Figure 1 ,Such as Figure 5 As shown, including: a first acquisition module 51, a second acquisition module 52, a determination module 53 and a processing module 54; wherein,
[0116] The first obtaining module 51 is used to obtain the CRUD operation for the cache to be operated;
[0117] The second obtaining module 52 is used to obtain the entry and exit rules generated for the cached data to be operated from the preset cache factory;
[0118] Determining module 53, for determining the operation position of CRUD operation from the buffer to be operated according to the access rule;
[0119] The processing module 54 is configured to process the cache to be operated according to the CRUD operation and the operation location.
[0120] Optionally, the first acquiring module 51 is specifically used for:
[0121] Through the CRUD operation interface, obta...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


