High-performance lading bill panic buying method and system

A high-performance, bill of lading technology, applied in the field of computer communication, can solve problems such as high concurrent access and loss, and achieve the effect of reducing reading, reducing pressure, and ensuring correct data
CN113129116APending Publication Date: 2021-07-16福建天晴在线互动科技有限公司

Patent Information

Authority / Receiving Office
CN · China
Current Assignee / Owner
福建天晴在线互动科技有限公司
Publication Date
2021-07-16

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
Patent Text Reader

Abstract

The invention provides a high-performance lading bill panic buying method. The high-performance lading bill panic buying method comprises the steps: S1, setting a commodity detail page as a static page; S2, using a token bucket current limiter algorithm, setting a current limiting threshold value, and performing current limiting on a server interface; S3, performing current limiting on a large number of panic buying requests of a single IP in a short time; S4, judging the commodity inventory from the cache of the server; S5, adding the orders in the pre-panic buying state into a message queue; S6, asynchronously processing the message queue, sequentially executing deduction, and updating the order; S7, the front end of the commodity detail page periodically and circularly inquiring the order state, and feeding a panic buying result back to the user; S8, the user paying the order of successful panic buying; asynchronously detecting overtime unpaid orders, and returning the commodity stock to the database; and ensuring the data correctness of panic buying.
Need to check novelty before this filing date? Find Prior Art

Description

technical field

[0001] The invention relates to the technical field of computer communication, in particular to a high-performance method and system for snapping up bills of lading. Background technique

[0002] The seckill system mainly solves three major problems: 1. Instantaneous high concurrent access. Panic buying is different from ordinary e-commerce sales. In ordinary e-commerce sales, the traffic is relatively average. Although there are peaks and troughs, they will not be particularly prominent. The rush sale is a promotional activity carried out at a specific point in time. Before the start of the rush sale, the user keeps refreshing the page to obtain the purchase button; at the moment of the start of the rush sale, centralized and concurrent purchases are made. 2. Data correctness. After all, panic buying is a buying behavior that requires complex processes such as purchasing, deduction of inventory, and payment. During this process, the correctness of data mus...

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