Summary
This chapter was dedicated completely to measuring the performance of our electronic trading ecosystem. First, we built a system to measure and compare the latency incurred due to the execution of any arbitrary code block. We also built a system to generate nanosecond-level timestamps when notable events occur. We also discussed the motivation behind the design of these systems as well as various important points to keep in mind when using these performance measurement techniques.
The next section was dedicated to understanding the design and motivation of performance measurements within the various components and subcomponents on the electronic exchange’s end. We then built and updated all the source code in the exchange to add the performance measurement and timestamping code.
After we finished the discussion and implementation of performance measurement within the electronic exchange, we performed similar measurements in the trading system. Finally, we concluded...