Business data asynchronous storage method and system and medium
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- 苏州玩蜂软件科技有限公司
- Publication Date
- 2021-08-13
Smart Images

Figure 1 
Figure 2
Abstract
Description
technical field
[0001] The invention relates to the technical field of data storage, in particular to a method, system and medium for asynchronously storing business data. Background technique
[0002] During the operation of a high-concurrency system, some core business functions need to be able to carry dozens of times or even higher concurrent access than ordinary business functions. During this process, some core business data cannot be missing or inaccurate.
[0003] CAS is a method to achieve synchronization between multiple threads. CAS (Compare and Swap) is a comparison and exchange. It is an atomic instruction provided by the CPU, also known as the CPU hardware synchronization primitive, which is used to avoid program lock deadlock. The situation, that is, the situation where two program locks compete for the same resource, and both parties are stagnant.
[0004] In order to ensure that there are no errors or omissions in business data, the most commonly used metho...