Performance whitepaper

OMS performance
under a burst of orders.

An empirical study of order-burst processing, manager and gateway timing, and tail behavior in an order management system.

Featuremine

Edition 0.3 · Revised · Recorded results and methodology

01 / Purpose

Scope and objectives

This paper evaluates how quickly the OMS processes bursts of new orders and how consistently it performs across repeated bursts. Such workloads arise from portfolio rebalances, synchronized signals, or responses to changing market conditions, where the time to process the entire burst matters alongside individual-order latency. The study examines how processing time changes with the number of orders processed, how the manager and gateway contribute to that time, and how rare delays affect the last orders in a burst. The benchmark uses equity orders; equity and futures processing have little functional difference in the OMS. The instrument mix and risk configuration are documented in the test conditions. The test uses the same OMS configuration as hosted deployments, with a broker simulator as the counterparty. Measurements end at the gateway’s socket send and exclude subsequent network transit, broker and exchange processing, and trade execution.

This study submits repeated bursts of new orders, with four seconds between bursts. Individual order parameters are sampled uniformly over their respective acceptable ranges. Within each burst, we measure the elapsed time to complete the first order, the first two orders, and so on. Each burst supplies one observation for every batch size from 1 through its own order count. We analyze the recorded order log to calculate processing times for each completed order. The results include the test conditions and the number of observations for each batch size.

The OMS processes each order through two components: the manager and a broker-specific gateway. The manager applies the configured risk checks, updates the OMS’s order state, and forwards the order to the gateway. The gateway translates the order into the broker’s protocol and sends it over the broker connection. We measure these components separately to understand where time is spent as a burst moves through the system. In particular, the measurements distinguish time spent processing an order from time spent waiting for earlier orders in the burst to advance. This helps show whether delays arise at the manager or gateway and how those delays affect subsequent orders.

02 / Methodology

Measurement methodology

The study measures how long orders take to pass through the OMS, from submission by a strategy to transmission by the broker gateway. It also measures progress through the manager and gateway separately, helping identify where time is spent during a burst.

The measurements come from the recorded order log, which contains order requests and the corresponding processing updates. We read these records in their original sequence and match each update to its request using the originating session and order identifier. Here, a session identifies the connection through which a strategy submits orders and receives updates. The resulting dataset contains one row per completed order included in the analysis. All results and plots are calculated from this dataset; missing or unrecorded events are not reconstructed.

For this study, completion means reaching the gateway’s socket-send measurement boundary. It does not mean that the broker has acknowledged the order or that a trade has executed at an exchange.

For each order, we use three timing points:

The events and timestamps used for each order i
SymbolMeasurement event
sᵢOrder submission: the timestamp recorded when the strategy submits order i.
fᵢManager forwarding: the timestamp recorded when the manager forwards order i to the broker gateway, after completing its processing.
cᵢGateway transmission: the time at which order i reaches the gateway’s socket-send boundary. This is calculated by adding the recorded submission-to-send duration to sᵢ.
s₁Burst start: the submission timestamp of the first included order in the burst, used as the common starting point for elapsed-time measurements.

To measure when an order leaves the OMS, we use the elapsed time from the strategy’s submission to the gateway’s socket send. The gateway includes this duration in a subsequent response, either a rejection message or an execution report. Here, “execution report” is the name of an order-status message: it typically acknowledges the order and does not necessarily mean that a trade has occurred. Although the response arrives later, the duration it carries refers to the earlier socket-send event. We add that duration to the order’s submission timestamp to calculate the gateway transmission time. This lets us measure OMS processing without including the additional time spent waiting for a broker response or recording that response in the order log.

Burst reconstruction in request order

Orders are analyzed in submission order. The analysis maintains a queue of submitted requests and advances from the oldest request once its completion has been recorded, processing at most one completed request for each relevant log record. A burst ends when this queue becomes empty or when the next request’s submission time falls strictly after the preceding included order’s completion time. Burst boundaries are therefore inferred from the recorded events rather than taken from labels assigned by the workload generator.

Within each reconstructed burst, i denotes an order’s position in submission order. We calculate the following measurements:

Processing-time measurements within each burst
MeasurementCalculationInterpretation
OMS elapsed timecᵢ − s₁Time from the first submission to the gateway transmission of order i.
Cumulative average burst timeAᵢ = (cᵢ − s₁) / iElapsed time to process the first i orders in a burst, divided by i. This gives the average time per order over that portion of the burst, displayed in microseconds per order.
Manager processing timefᵢ − max(sᵢ, fi − 1); f₁ − s₁ for the first recorded orderTime from the later of the order’s submission and the preceding order’s forwarding until the manager forwards the current order.
Gateway processing timecᵢ − max(fᵢ, ci − 1); c₁ − f₁ for the first recorded orderTime from the later of the manager forwarding the current order and the gateway transmitting the preceding order until the gateway transmits the current order.

For each component, we calculate processing time from the earliest point when the current order is available and the preceding order has cleared that component. The manager’s start is the later of the current order’s submission at sᵢ and the preceding order’s forwarding at fi − 1; its processing interval ends when it forwards the current order at fᵢ. The gateway’s start is the later of that forwarding at fᵢ and the preceding order’s transmission at ci − 1; its interval ends when it transmits the current order at cᵢ. Both intervals exclude waiting for the order to become available or for the preceding order to clear the component. For the first recorded order, the starts are sᵢ and fᵢ respectively. At a burst boundary, the preceding order is the last order of the previous burst.

These measurements describe elapsed processing intervals based on inferred starts, rather than directly recorded processing-start events. They can include scheduling delays during those intervals and should not be interpreted as CPU execution time. Adding the manager and gateway processing times gives their combined duration, excluding queueing delays before each component starts. An order’s overall submission-to-send latency includes those delays and is measured directly as cᵢ − sᵢ.

Burst processing rate and order latency

For a completed burst of N orders, total elapsed time is T = cₙ − s₁. Dividing T by N gives the average time per order over the burst; dividing N by T gives the corresponding burst processing rate. Because the submitted bursts are separated by deliberate four-second gaps, this rate does not establish sustained maximum capacity. An individual order’s submission-to-send latency is cᵢ − sᵢ.

Within each burst, we measure the elapsed time to complete the first order, the first two orders, and so on. At position i, this cumulative elapsed time is Tᵢ = cᵢ − s₁, and the average time per order is Aᵢ = Tᵢ/i. The scatter plot shows Aᵢ against i in microseconds per order. Each burst supplies one observation for every batch size from 1 through its own order count. These are successive measurements within the same burst, rather than separate tests submitted at each batch size.

The percentile plots show how the measurements are distributed across the analyzed observations. Values are sorted from smallest to largest, and each is assigned a percentile of 100 × r/M, where r is its rank starting at 1 and M is the number of observations. Every observation is included, with the maximum at 100%. The final plot combines all cumulative average processing times Aᵢ. Every observation has equal weight; no additional weighting is applied.

Summary statistics by order position

Each scatter plot by order position also has a summary view showing the minimum, 25th percentile, median, 75th percentile, and maximum across the analyzed bursts. The 25th and 75th percentiles bound the middle 50% of observations. Quartiles and medians are calculated by linear interpolation between ranked values. For cumulative average processing time, Tᵢ/i is calculated separately for each burst before these summaries are produced. The summary views make patterns easier to compare, while the scatter plots retain the individual observations.

03 / Recorded results

Recorded processing times

Loading the recorded CSV samples… Large recordings can take a few seconds; the analysis runs separately from the page controls.

Download the source CSV

06 / Interpretation

Interpretation and limitations

The interpretation will appear once the recorded measurements have loaded.

Performance is one part of evaluating an OMS. The accompanying reliability whitepaper describes the correctness checks, replay capabilities, and operational safeguards that complement these timing measurements.

Download the order-level measurements · Discuss a workload-specific evaluation