The invention provides an order
asynchronous processing method and
system, a medium and equipment, and the method comprises the steps: receiving an order request sent by a
client, the order request carrying commodity identification information of a commodity requested to be purchased and a purchase quantity; determining the number of tokens in a
token bucket corresponding to the commodity identification information; in response to the fact that the token number is not smaller than the purchase number, creating a commodity order corresponding to the order request and setting an order state of the commodity order as an in-order-creation state; carrying out
asynchronous processing on the commodity order and the inventory of the commodity; wherein the
asynchronous processing of the commodity order comprises the step of carrying out persistent
processing on order data of the commodity order, and the
processing of the inventory of the commodity comprises the step of carrying out deduction
processing on the inventory of the commodity based on the purchase quantity. According to the method and the device, the
token bucket is used for smoothly controlling the flow of the order request, the influence on the
system caused by excessive instantaneous flow is avoided, and the load pressure of the
system can be further relieved by asynchronously processing the order.