Method for realizing commodity information cache loading based on Redis cache technology

A commodity information, cache loading technology, applied in business, instrument, network data retrieval and other directions, can solve problems such as deviation of system operation results and unreasonable data cache mechanism settings, to improve stability, improve convenience, and ensure data accuracy sexual effect
CN110287430AActive Publication Date: 2019-09-27INSPUR SOFTWARE CO LTD

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
    Figure 1
Patent Text Reader

Abstract

The invention particularly relates to a method for realizing commodity information cache loading based on a Redis cache technology. The method for realizing commodity information cache loading based on the Redis cache technology comprises the following steps: firstly, generating commodity information according to basic data of a commodity; generating a mall or shop timestamp; generating client information according to the basic data of the login client; generating a client mall or shop timestamp; generating a customer mall commodity corresponding relation; and making a mall data refreshing rule and a client query rule. Based on the method for realizing commodity information caching and loading based on the Redis caching technology, through a standardized data updating mechanism and a key value naming rule, the convenience of system development and the reliability of operation are improved; the method has the advantages that the method is simple, the support degree is wide, the pressure of frequent page refreshing of a client on a database can be greatly reduced for an e-commerce platform with high concurrency, especially in a panic buying mode, and the stability of system operation is improved while the data accuracy is guaranteed.
Need to check novelty before this filing date? Find Prior Art

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...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More