A small, high-concurrency deduction method for placing an order with inventory
A single order and inventory technology, which is applied in the field of order processing, can solve problems such as locks cannot be released, inventory deduction failures, and inventory deduction cannot be dealt with, achieving the effect of achieving convenience and increasing concurrency
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Examples
Embodiment Construction
[0017] In order to make the technical solutions of the present invention clearer and clearer to those skilled in the art, the present invention will be further described in detail below in conjunction with examples, but the embodiments of the present invention are not limited thereto.
[0018] This embodiment provides a small-scale, high-concurrency deduction inventory ordering method, including:
[0019] Create virtual pipelines, virtual external locks, virtual pipeline tables and virtual inventory pools respectively;
[0020] Each product corresponds to multiple virtual pipelines and multiple virtual inventory pools, and multiple virtual pipelines correspond to multiple virtual inventory pools one by one, and the virtual inventory pools are placed in the MYSQL data table;
[0021] In the case of high concurrency of inventory deduction, each transaction initiated first looks up the currently available virtual pipelines in the virtual pipeline table, finds non-LOCK virtual pip...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More