Design of a Highly Reliable Financial Transaction Matching System with High Performance
- Author
- SunChangZuo
- Advisor
- YangXiaoHu
- School
- Zhejiang University
- Major
- Computer technology
- Classification
- TP311.52 Software Development
- Degree
- Master's thesis
- Year
- 2014
- Downloads
- 24
- Citations
- 0
Abstract
With the development of global finance, electronic trading has become the major form of financial trading. Meanwhile the need for high performance and highly reliable system is more and more acute. Therefore as the important form of financial trading, matching system has to provide better performance and reliability.This dissertation studies how to build a robust matching system with high performance. Firstly I analyzed the overall design of the matching system and then determine the requirements. Secondly after analyzing matching engine part, I proposed a matching engine solution based on replicated memory state machine. To realize this solution, I studied design principles and consistency theory of distributed systems, divided matching system into three abstract layers (gateway layer, matching engine layer and database layer), and applied atomic multicast, lock-free-MQ-based pipeline matching, asynchronous data persistency, failure recovery and progress chasing techniques. Atomic multicast is used to guarantee efficient order replication and multicast. Lock-free-MQ-based pipeline matching improves the matching throughput. Asynchronous data persistency improves throughput and robustness of data persistency. Failure recovery quickly identifies failure and switches master server to provide high reliability using heartbeat packets. Progress chasing provides non-pause progress gap elimination. Finally I coded this solution as well as the control model of database matching model and conducted thorough analysis.The test data shows that, the new model can provide5times as much as the old model with the latency only about12%to it, and the new model can quickly detect and mask failure so that it can provide continuous service. In conclusion, the high available and high performance matching technology can enable organizations to provide steady service with high performance.
Table of contents
Abstract 5-6
Abstract 6-13
Chapter 1 Introduction 13-26
1.1 Background 13
1.2 financial brokered business Overview 13-15
1.2.1 financial transactions 13-14
1.2.2 brokered deal 14-15
1.3 mainstream financial dealmakers system Overview 15-17
1.3.1 State Street Currenex 15
1.3.2 HKEx Genium INET 15-16 <br / > 1.3.3 ICAP 's EBS Spot Ai 16
1.3.4 London Liffe Connect technological development 16-17
1.4 financial dealmakers system 17-19
1.4.1 brokered approach based database 17-18
1.4.2 memory-based matching approach 18-19
1.4.3 Comparative analysis 19
1.5 financial matching system application technology 19-23
1.5.1 logic clock 19-20
1.5.2 remote Procedure Call 20 -21
1.5.3 reliable Multicast 21
1.5.4 virtual synchronous model 21-23
1.6 topics introduced 23-25 ??
1.6.1 existing problems 23
1.6.2 design goals 23-24
1.6.3 work content 24-25
1.7 article structure 25
1.8 Chapter Summary 25-26
Chapter 2 system Design 26-36
2.1 level design 26
2.2 brokered deal algorithm 26-28
2.2.1 orders queue 27
2.2.2 brokered order 27-28
2.3 memory match 28-29
2.4 multi-machine hot backup 29-30
2.5 memory state machine replication 30-31
2.5.1 key technologies point 31
2.5.2 implementation 31
2.6 system architecture 31-35
2.6.1 system hardware architecture 31 -32
2.6.2 system software architecture 32-34
2.6.3 matching engine architecture 34-35
2.6.4 system Interface 35
2.7 Chapter Summary 35-36
Chapter 3 memory state machine replication key technology 36-56
3.1 atomic multicast 36- 44
3.1.1 problem Description 36-37
3.1.2 levels of abstraction 37-38
3.1.3 state machine model 38-40
3.1.4 internal message sender achieve 40-42
3.1.5 internal message recipient to achieve 42-44
3.2 lines matching technology 44-48
3.2.1 problem Description 44-46
3.2.2 The principle 46-48
3.3 asynchronous consistency persistent 48 -52
3.3.1 problem Description 48-50
3.3.2 The principle 50-52
3.4 failover 52-53
3.5 schedule to catch 53-54
3.6 Chapter Summary 54-56
Chapter 4, the results of experiments and analysis 56-69
4.1 experimental introduction 56
4.2 experimental environment 56-59
4.2.1 experimental configuration 56-57
4.2.2 user orders generate analog 57
4.2.3 database matching model 57-58
4.2.4 highly reliable high-performance matching model 58-59
4.3 testing process 59-62
4.3.1 atomic multicast test overall 59-61
4.3.2 system test 61-62
4.4 atomic multicast 62-63
4.4.1 orders sort 62-63
4.4.2 multicast delay 63
4.4.3 analysis 63
4.5 system test 63-68
4.5.1 system throughput 64-65
4.5.2 system latency 65-67
4.5.3 system recovery ability test 67-68
4.6 Chapter Summary 68-69
Chapter 5 summary and Outlook 69-71 <br / > 5.1 summarizes 69-70
5.2 Looking 70-71
references 71-74
author Biography 74-75
Thanks 75
Related dissertations
- Research on Hybrid Consensus Protocol and Atomic Multicast
- Study of Group Decision Making Theory and Methods Based on Fuzzy Number Preference Relations with Consistency
- Research on Qualitative Characteristics of Useful Financial Information Based on Fair Value
- Study on the Effect of Cause-brand Fit to Cause-related Marketing in the Perspective of Brand Alliance
- Research of Supply Chain Coordination Model from the Perspective of Customer Satisfaction
- SMEs Human Resources Allocation Efficiency Research in China
- Enterprise the Highest Political Level and the Execution Level Cultural Cognitive Consistency Research
- Reseach on Organizing and Matching Problems of MB’s MIS Implemention
- The Research on Career Management System of Company a
- Reliability Based Maintenance Management Study of AB Petrochemical Co
- Uncertain reliability of remanufacturing logistics network construction research environment based on
- A Gearman/MongoDB Based Transaction Monitoring and Reporting System Research and Implementation
- Design and Implementation of MPC System with Remote Model Error Detection
- Study on Clock Network Structure and Synchronization in Distributed Test System
- Reliability Research and Analysis of the DGA Online Monitoring System
- Design of distributed control system based on embedded platform
- Coordinated Control of Distributed Multi-agent Systems and Applications
- Design of High Reliability BLDCM Drive Control System for Space End Effector
- Design of Distributed Concurrent State-aware System for the Quadruped Bionic Robot
- Research on Consistency of EKF-SLAM for Indoor Mobile Robot