b2fjo
b2fjo
The fill record with trade_id = 0 is a **done** record (fill. Done = true), indicating that the order has been completed
Usually in large-scale systems, we do not use foreign key constraints to ensure data consistency. Imagine that if we need to split tables and databases because of the huge amount...
Hi The match engine will use **KafkaOrderReader** to read the order, and the match engine will generate a series of match logs (**MatchLog**, **DoneLog**, **OpenLog**). **FillMaker** will read these logs...
Sorry, there are not many documents at present. I will write some documents later to explain the design idea of gitbitex If you want to use MongoDB as storage, you...
1,EngineSnapshotThread will periodically create snapshots for the matching engine and save them in MongoDB. When the matching engine starts, it will read the snapshot from MongoDB and restore it. 2,The...
1. CommandStartMessage and CommandEndMessage respectively represent the start and end of a transaction, ensuring data consistency when processing messages downstream. 2. As long as the slave node obtains a complete...