Data Science and Engineering | |
Reordering Transaction Execution to Boost High-Frequency Trading Applications | |
Xuan Zhou1  Xiaoyong Du2  Shan Wang2  Ningnan Zhou2  Xiao Zhang2  | |
[1] School of Data Science and Engineering, East China Normal University;School of Information, Renmin University of China; | |
关键词: Concurrency control; Reordered execution; Online reordering; Off-line reordering; | |
DOI : 10.1007/s41019-017-0054-0 | |
来源: DOAJ |
【 摘 要 】
Abstract High-frequency trading (HFT) has always been welcomed because it benefits not only personal benefits but also the whole social welfare. While the recent advance of portfolio selection in HFT market enables to bring about more profit, it yields much contended OLTP workloads. Featuring exploiting the abundant parallelism, transaction pipeline, the state-of-the-art concurrency control (CC) mechanism, however, suffers from limited concurrency confronted with HFT workloads. Its variants that enable more parallel execution by leveraging fine-grained contention information also take little effect. To solve this problem, we for the first time observe and formulate the source of restricted concurrency as harmful ordering of transaction statements. To resolve harmful ordering, we propose PARE, a pipeline-aware reordered execution, to improve application performance by rearranging statements in order of their degrees of contention. In concrete, two mechanisms are devised to ensure the correctness of statement rearrangement and identify the degrees of contention of statements, respectively. We also study the off-line reordering problem. We prove that this problem is NP-hard and present an off-line reordering approach to approximate the optimal reordering strategy. Experiment results show that PARE can improve transaction throughput and reduce transaction latency on HFT applications by up to an order of magnitude than the state-of-the-art CC mechanism.
【 授权许可】
Unknown