Implementation and generation methods and systems for server cache
A technology of server cache and server system, applied in the field of generation method and system, and realization of server cache
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0041] It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.
[0042] Such as figure 1 As shown, it is a flow chart of a method for implementing server cache provided by Embodiment 1 of the present invention. The method specifically includes:
[0043] Step S101, call the interface in the server system, obtain the interface name and parameter value as a key value, generate a result data as a cache value, add a cache validity period field to the cache value, and put the key value and cache value together In the hash table;
[0044] As an embodiment, take the Redis cache server as an example, the data structure of Redis is key (key value)-value (value) format, in fact, both key and value will be stored in the format of binary word stream in Redis cache server .
[0045] As an embodiment, a hash table is used to store the cache of the server. The name of the hash table is API_HASH...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 