Order routing latency: where each millisecond goes

Network cables in a trading server rack representing order routing latency between broker infrastructure and a trading venue
Photo by Brett Sayles on Pexels

Where did the 40 milliseconds go? Usually, across several parts of the route, not in one slow order router. Order routing latency is the time from a defined starting event, such as a client submitting an order, to a defined endpoint, such as the venue accepting it. The useful first step is to make those two events explicit.

A broker's path may include a client application, an API gateway, authentication, risk checks, a routing service, a broker or liquidity provider connection, and a venue. A prop firm may send orders directly to an exchange, route through a broker, or use a simulated execution environment. Those paths have different components, so a single figure labelled "latency" rarely explains much.

For an operator, separate the time spent processing from the time spent travelling. Also separate an acknowledgement from a fill. An order can be accepted quickly and still wait in a queue, receive a partial execution, or be rejected by the venue.

Latency starts with the clock

Choose the events you intend to measure before comparing systems. Client-to-broker time includes the client's network and device.

Broker-received-to-venue-acknowledged time excludes that first leg, but includes broker processing, the route to the venue and the return acknowledgement. Both can be useful; they answer different questions.

Use monotonic clocks for elapsed time within a process. For measurements spanning machines, synchronise clocks and monitor their offset. Precision Time Protocol is common in data centres that need tight alignment; Network Time Protocol is often adequate for less demanding systems. A timestamp is only useful if the clock's error is known. Sub-millisecond clock drift can make a fast path appear slower, or reverse the apparent order of events.

Keep separate timestamps for order receipt, risk decision, route selection, socket write, venue receipt where available, acknowledgement receipt and execution report. FIX tags and application logs can help correlate events, but they do not automatically provide a complete latency trace. Assign a stable order identifier across services and preserve the original client timestamp separately from server-generated times.

Follow the order through the stack

Where the time accumulates

A typical electronic order passes through these stages:

  1. Client to edge. The order travels over a public internet connection, private network or broker access link. Distance, Wi-Fi, mobile networks and congestion dominate this leg. A browser or mobile client may also add local processing time.
  2. Gateway and checks. The platform authenticates the session, parses the request, validates fields and applies account, credit, margin or exposure controls. Cached lookups and in-memory checks are usually faster than synchronous calls to remote services.
  3. Routing decision. A simple route can be a lookup by instrument, account or venue. A smart order router may also consider available prices, venue status, order size, fees and execution rules. More inputs can improve the decision while adding computation and dependencies.
  4. Network to venue. The order crosses a cross-connect, private circuit or internet path to a broker, liquidity provider or exchange gateway. Physical distance sets a floor. Congestion, route changes and packet loss can raise both latency and variation.
  5. Venue handling and response. The venue validates and processes the message, then returns an acknowledgement, rejection or execution report. Acknowledgement time does not include the time an unfilled order spends resting in the book.

Typical market ranges

The table gives indicative typical market ranges, not audited results or service guarantees. They vary by asset class, venue, message protocol, geography and measurement point. The network figures are approximate one-way timings; processing figures describe a single stage. Do not add unrelated best-case figures and present the sum as a measured round trip.

ComponentTypical rangeWhat can move it
Client to broker edge5-100 msGeography, ISP routing, mobile access, client-side work
Gateway, validation and risk checks0.1-2 msRemote lookups, database calls, contention, rule complexity
Simple internal service hop0.05-0.5 msHost load, virtualisation, serialization, queue depth
Router decision0.05-1 ms for a simple route; 1-5 ms for more complex logicNumber of venues, pricing inputs, synchronous dependencies
Data-centre network to a nearby venue0.1-2 msCross-connect, switches, route length, network load
Regional or intercontinental network leg1-80 msPhysical distance and the path taken
Venue gateway handling0.05-1 msVenue design, message validation, load and market conditions

Ranges overlap because they describe different configurations and measurement points. A nearby retail client may spend tens of milliseconds reaching a broker before the order enters a sub-millisecond internal path. A colocated participant can remove much of that client and wide-area network time, but still has router, gateway and venue processing to account for.

Fastest is not always best

Routing is a trade-off between speed, execution quality, reliability and control. A direct venue connection can reduce hops and make timing more predictable. It can also concentrate operational risk in one connection or venue. A broker routing through a liquidity provider may add a hop, but provide access to several sources of liquidity and a supported credit relationship.

Smart order routing can improve the chance of reaching a better available price, but its decision depends on the quality and freshness of market data. A router acting on stale quotes can send an order to a venue whose displayed price has moved. For marketable orders, a few milliseconds may affect the price available. For passive orders, queue position and the likelihood of execution can matter more than a small reduction in submission time.

Each extra synchronous step has a cost. Checking an external service before every order may improve a control or decision, but creates another network dependency and another failure mode.

Caching can reduce delay, though cached data needs clear expiry rules. Batching lowers overhead in some workloads but may hold an order while waiting to form a batch. The right choice depends on the instrument, order type, regulatory controls and the firm's execution model.

For brokers and prop firms, document which route is used for each account and instrument, including any internalisation, simulation or broker hand-off. Trading Technology's coverage of trading infrastructure provides further context on the systems behind those routes.

Measure the path you actually trade

Build a useful latency trace

Measure percentiles, not just averages. A service with a 0.5 ms median and a 15 ms 99th percentile can create operational problems even if its average looks acceptable. Track p50, p95, p99 and maximum values by route, venue, order type and time of day. Keep rejected orders and timeouts in the data rather than reporting only successful submissions.

For each order, correlate the timestamps across the gateway, risk engine, router and venue session. Record both elapsed time per stage and total time between agreed endpoints. Compare the broker's send time with the venue acknowledgement time, and watch for gaps that move between components during bursts. A growing queue before the router points to a different problem from a stable router followed by a slow network leg.

Useful operational checks include:

  • Alert on p99 latency and queue depth, not only process health or average response time.
  • Break results down by venue and network path so a single slow connection does not disappear in an aggregate.
  • Monitor packet loss, retransmissions, connection resets and clock offset alongside application timings.
  • Replay representative bursts and market-open patterns. A quiet-period test does not expose queueing under load.
  • Compare acknowledgement latency with fill latency and execution outcomes. The first is a transport and processing measure; the second includes market behaviour.

Reduce delay without hiding failure

Start with the largest repeatable component, especially at p95 and p99. Keep synchronous risk checks close to the order service where controls permit, avoid unnecessary serialization and remote calls, and review thread pools and queue limits. For network delay, check the actual route and cross-connect rather than assuming that two systems in the same city are close in network terms.

Do not optimise by removing controls or collapsing measurements. A timeout that returns an uncertain order state can be more costly than an extra millisecond of validation.

Design retries to avoid duplicate orders, retain venue session state, and make degraded routes visible to operations. A route that is fast when healthy but opaque during an outage is not a reliable low-latency route.

Latency figures are only comparable when their endpoints, clocks and load conditions match. In trading infrastructure, the smallest number often has the least useful definition.

Frequently Asked Questions

What is order routing latency?

It is the time taken to move an order between defined points in a trading system, such as client submission and venue acknowledgement. The figure depends on which processing and network stages are included.

What is a typical order routing latency?

There is no single typical end-to-end figure because routes and measurement points differ. Broker-side checks may take tenths of a millisecond to a few milliseconds, while client and wide-area network legs can add several to tens of milliseconds.

How do brokers measure order routing latency?

They timestamp key events from order receipt through validation, routing, venue transmission and acknowledgement. Correlating those records across services requires stable order identifiers and monitored clock synchronisation.

What causes high order routing latency?

Common causes include network distance, congestion, packet retransmissions, overloaded queues, remote service calls and complex routing decisions. Tail latency can rise sharply during bursts even when median timings remain stable.

Does lower order routing latency guarantee a better fill?

No. Faster submission can help an order reach a venue sooner, but execution also depends on price movement, queue position, liquidity and venue handling. An acknowledgement confirms processing, not necessarily a fill.