Method for realizing commodity information cache loading based on Redis cache technology
Patent Information
- Authority / Receiving Office
- CN Β· China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- INSPUR SOFTWARE CO LTD
- Publication Date
- 2019-09-27
Smart Images

Figure 1
Abstract
Description
technical field
[0001] The invention relates to the technical field of data cache, in particular to a method for realizing cache loading of commodity information based on the Redis cache technology. Background technique
[0002] When a network system solves high concurrent requests, it usually uses a cache mechanism to load the data in the database into the memory or store it in a storage medium with a faster access speed for a long time, so as to reduce the number of times the database is accessed, thereby reducing the number of times the database is accessed. The performance loss caused by the long-term occupation of the I / O during the read operation.
[0003] Redis (Remote Dictionary Server, remote data service) is a key-value stored memory cache database. Similar to Memcached, Redis is essentially a key-value in-memory database. The entire database is loaded in the memory for operation, and the database data is flushed to the hard disk through asynchronous operations on...