IDEAS home Printed from https://ideas.repec.org/p/arx/papers/2609.32848.html

Packets, Transactions and Queues: Design Principles for HFT Systems from a Measurement Study of CME Market Data

Author

Listed:
  • Vincent Maciejewski

Abstract

HFT systems are conventionally built as a single-threaded event loop, on the rule that every thread hop adds latency. We test that rule against a measurement study of more than a year of CME market data for the NQ front-month contract, following every packet and matching-engine transaction through the feed's two exchange timestamps, and checking the results against a live production receiver. Packets arrive in near-critical self-exciting clusters that belong to the matching engine's transactions, not to how the exchange packs them. The engine often processes consecutive transactions within a fraction of a microsecond, while the market-data publisher sends at most one packet per publisher period of about 7.5 microseconds, so a burst reaches the receiver as a train of packets one period apart. This yields design principles for HFT systems. First, a receiver that handles each packet within one publisher period never queues on arrivals, however bursty the market; there one thread is best. Second, above that period a queueing tail appears, driven by the timing of transactions, not by packet rate or size, and two threads can be better than one: splitting the servicing chain into two stages on separate threads removes most of the tail at the cost of one hop on the median. Third, only the slowest stage matters, so a split pays only if it shortens it. Fourth, just under the period, where the production receiver runs, the remaining tail comes from multi-message packets and variable service times, and the levers are cost per message and spread of service, not thread count. An analytic framework, a burst-limit throughput identity and an exact reduction of the tandem to a single bottleneck server, supports these results.

Suggested Citation

  • Vincent Maciejewski, 2026. "Packets, Transactions and Queues: Design Principles for HFT Systems from a Measurement Study of CME Market Data," Papers 2609.32848, arXiv.org, revised Oct 2026.
  • Handle: RePEc:arx:papers:2609.32848
    as

    Download full text from publisher

    File URL: https://arxiv.org/pdf/2609.32848
    File Function: Latest version
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. James R. Jackson, 1957. "Networks of Waiting Lines," Operations Research, INFORMS, vol. 5(4), pages 518-521, August.
    2. Paul J. Burke, 1956. "The Output of a Queuing System," Operations Research, INFORMS, vol. 4(6), pages 699-704, December.
    3. Stephen J. Hardiman & Nicolas Bercot & Jean-Philippe Bouchaud, 2013. "Critical reflexivity in financial markets: a Hawkes process analysis," Papers 1302.1405, arXiv.org, revised Jun 2013.
    4. Vladimir Filimonov & Didier Sornette, 2012. "Quantifying reflexivity in financial markets: towards a prediction of flash crashes," Papers 1201.3572, arXiv.org, revised Apr 2012.
    5. V. Filimonov & D. Sornette, 2015. "Apparent criticality and calibration issues in the Hawkes self-excited point process model: application to high-frequency financial data," Quantitative Finance, Taylor & Francis Journals, vol. 15(8), pages 1293-1314, August.
    6. repec:inm:orstsy:v:11:y:2021:i:13:p:264-283 is not listed on IDEAS
    7. Matteo Aquilina & Eric Budish & Peter O’Neill, 2022. "Quantifying the High-Frequency Trading “Arms Race”," The Quarterly Journal of Economics, President and Fellows of Harvard College, vol. 137(1), pages 493-564.
    8. Emmanuel Bacry & Iacopo Mastromatteo & Jean-Franc{c}ois Muzy, 2015. "Hawkes processes in finance," Papers 1502.04592, arXiv.org, revised May 2015.
    9. Michael Goldstein & Shengwei Ding & John Hanna & Terrence Hendershott, 2014. "How Slow Is the NBBO? A Comparison with Direct Exchange Feeds," The Financial Review, Eastern Finance Association, vol. 49(2), pages 313-332, May.
    10. Xuefeng Gao & Lingjiong Zhu, 2018. "Functional central limit theorems for stationary Hawkes processes and application to infinite-server queues," Queueing Systems: Theory and Applications, Springer, vol. 90(1), pages 161-206, October.
    11. Vincent Maciejewski, 2026. "Adapting the Actor Model of Concurrency for High-Frequency Trading: Synchronous Message Delivery (fast_send) and a Tick-to-Book Latency Study," Papers 2609.21173, arXiv.org, revised Oct 2026.
    12. Stephen Hardiman & Nicolas Bercot & Jean-Philippe Bouchaud, 2013. "Critical reflexivity in financial markets: a Hawkes process analysis," The European Physical Journal B: Condensed Matter and Complex Systems, Springer;EDP Sciences, vol. 86(10), pages 1-9, October.
    13. Bartlett, Robert P. & McCrary, Justin, 2019. "How rigged are stock markets? Evidence from microsecond timestamps," Journal of Financial Markets, Elsevier, vol. 45(C), pages 37-60.
    14. Patrick Noble & Mathieu Rosenbaum & Saad Souilmi, 2026. "Bridging the Reality Gap in Limit Order Book Simulation," Papers 2603.24137, arXiv.org.
    15. Vladimir Filimonov & Didier Sornette, 2012. "Quantifying Reflexivity in Financial Markets: Towards a Prediction of Flash Crashes," Swiss Finance Institute Research Paper Series 12-02, Swiss Finance Institute.
    16. Henry D. Friedman, 1965. "Reduction Methods for Tandem Queuing Systems," Operations Research, INFORMS, vol. 13(1), pages 121-131, February.
    Full references (including those not matched with items on IDEAS)

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Swishchuk, Anatoliy & Zagst, Rudi & Zeller, Gabriela, 2021. "Hawkes processes in insurance: Risk model, application to empirical data and optimal investment," Insurance: Mathematics and Economics, Elsevier, vol. 101(PA), pages 107-124.
    2. Hai-Chuan Xu & Wei-Xing Zhou, 2020. "Modeling aggressive market order placements with Hawkes factor models," PLOS ONE, Public Library of Science, vol. 15(1), pages 1-12, January.
    3. Mathieu Rosenbaum & Jianfei Zhang, 2022. "On the universality of the volatility formation process: when machine learning and rough volatility agree," Papers 2206.14114, arXiv.org.
    4. Antoine Fosset & Jean-Philippe Bouchaud & Michael Benzaquen, 2020. "Non-parametric Estimation of Quadratic Hawkes Processes for Order Book Events," Papers 2005.05730, arXiv.org.
    5. Thomas Deschatre & Marc Hoffmann & Mathieu Rosenbaum, 2026. "Rainfall is rough," Papers 2607.27099, arXiv.org.
    6. Jean-Philippe Bouchaud, 2021. "The Inelastic Market Hypothesis: A Microstructural Interpretation," Papers 2108.00242, arXiv.org, revised Jan 2022.
    7. Carlo Campajola & Domenico Di Gangi & Fabrizio Lillo & Daniele Tantari, 2020. "Modelling time-varying interactions in complex systems: the Score Driven Kinetic Ising Model," Papers 2007.15545, arXiv.org, revised Aug 2021.
    8. Hyun Jin Jang & Kiseop Lee & Kyungsub Lee, 2020. "Systemic risk in market microstructure of crude oil and gasoline futures prices: A Hawkes flocking model approach," Journal of Futures Markets, John Wiley & Sons, Ltd., vol. 40(2), pages 247-275, February.
    9. Antoine Fosset & Jean-Philippe Bouchaud & Michael Benzaquen, 2020. "Non-parametric Estimation of Quadratic Hawkes Processes for Order Book Events," Working Papers hal-02998555, HAL.
    10. Tomlinson, Matthew F. & Greenwood, David & Mucha-Kruczyński, Marcin, 2024. "2T-POT Hawkes model for left- and right-tail conditional quantile forecasts of financial log returns: Out-of-sample comparison of conditional EVT models," International Journal of Forecasting, Elsevier, vol. 40(1), pages 324-347.
    11. Antoine Fosset & Jean-Philippe Bouchaud & Michael Benzaquen, 2021. "Non-parametric Estimation of Quadratic Hawkes Processes for Order Book Events," Post-Print hal-02998555, HAL.
    12. Schatz, Michael & Wheatley, Spencer & Sornette, Didier, 2022. "The ARMA Point Process and its Estimation," Econometrics and Statistics, Elsevier, vol. 24(C), pages 164-182.
    13. Fernando Acero & Philipp Plank & Yufei Zhang, 2026. "Reinforcement Learning with Hawkes-Structured Networks for Market Making," Papers 2610.16524, arXiv.org.
    14. Marcello Rambaldi & Vladimir Filimonov & Fabrizio Lillo, 2016. "Detection of intensity bursts using Hawkes processes: an application to high frequency financial data," Papers 1610.05383, arXiv.org.
    15. Youssef Ouazzani Chahdi & Mathieu Rosenbaum & Gr'egoire Szymanski, 2024. "Passive Market Impact: A Point Process Approach," Papers 2412.07461, arXiv.org, revised Jul 2026.
    16. Marcello Rambaldi & Emmanuel Bacry & Jean-Franc{c}ois Muzy, 2018. "Disentangling and quantifying market participant volatility contributions," Papers 1807.07036, arXiv.org.
    17. Mariko I Ito & Yudai Honma & Takaaki Ohnishi & Tsutomu Watanabe & Kazuyuki Aihara, 2024. "Exogenous and endogenous factors affecting stock market transactions: A Hawkes process analysis of the Tokyo Stock Exchange during the COVID-19 pandemic," PLOS ONE, Public Library of Science, vol. 19(4), pages 1-23, April.
    18. Wu, Liang & Tong, Zhijie & Liu, Yujia & Liu, Chang, 2026. "Endogenous trading and price overreaction," International Review of Economics & Finance, Elsevier, vol. 108(C).
    19. Paul Jusselin & Mathieu Rosenbaum, 2020. "No‐arbitrage implies power‐law market impact and rough volatility," Mathematical Finance, Wiley Blackwell, vol. 30(4), pages 1309-1336, October.
    20. Lucio Maria Calcagnile & Giacomo Bormetti & Michele Treccani & Stefano Marmi & Fabrizio Lillo, 2015. "Collective synchronization and high frequency systemic instabilities in financial markets," Papers 1505.00704, arXiv.org.

    More about this item

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:arx:papers:2609.32848. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: arXiv administrators (email available below). General contact details of provider: https://arxiv.org/ .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.