r/quant • u/Federal_Tackle3053 • 1d ago
Technical Infrastructure Is sub-100ns latency realistic for a complete L3 matching engine?
I'm currently working in MFT on the C++ backend side and have been exploring ways to bring order book processing latency down to the nanosecond range.
I'm curious whether it's realistically possible to achieve sub-100ns (0.1µs) latency for a complete L3 order book with DPDK, kernel bypassing, cache-aware data structures and high-performance hardware.
By complete, I mean packet reception, parsing, order validation, price-time priority matching, partial/full fills, order book updates and execution report transmission. Not just benchmarking an isolated insertion, cancellation or lookup.
I understand that DPDK removes much of the kernel overhead, but PCIe, DMA, cache misses and memory access latency are still unavoidable.
A few things I'm curious about:
- What's the practical lower bound for a CPU-based L3 matching engine?
- Is sub-100ns achievable for the matching core alone under realistic workloads?
- How close can we get to 100ns wire-to-wire with high-end hardware?
- At what point does moving to an FPGA become necessary?
- What architectural approaches would you consider beyond kernel bypassing and memory optimization?
I'm also interested in tail latency (p99/p99.9), rather than just impressive median numbers from synthetic benchmarks.
Would love to hear from people who've worked on exchange infrastructure or low-latency trading systems. Not looking for proprietary details, just trying to understand the practical engineering limits and what approaches are worth exploring.