Design a Normalized Market Data Plant for Hundreds of Venues

Last updated: November 29, 2026

Quick Overview

Design the system that ingests raw depth-of-book feeds from 200+ exchanges and ATSs, builds books, and delivers normalized top-of-book and depth updates to many trading strategies with single-digit microsecond added latency.

Virtu Financial
System Design
Software Engineer
Virtu Financial
November 29, 2026
Software Engineer
System Design Round
System Design
Hard

0

0

0 solved


Design the system that ingests raw depth-of-book feeds from 200+ exchanges and ATSs, builds books, and delivers normalized top-of-book and depth updates to many trading strategies with single-digit microsecond added latency.

Virtu quotes on more than 200 venues worldwide, so its market data plant is the foundation every strategy sits on. The interviewer looks for latency-aware design (colocation, kernel bypass, lock-free fan-out), recovery from packet loss, and a clear split between the hot path and everything else.

What the Interviewer Expects
  • Separate per-venue feed handlers from the normalized publication layer
  • Explain the hot path: NIC to user space, decode, book update, publish, with no locks or allocation
  • Handle A/B arbitration, gaps, snapshots, and stale-book signaling
  • Choose a fan-out mechanism (shared memory rings, multicast) and justify it
  • Plan for monitoring, capture, and deterministic replay
Key Topics to Cover
low latency
kernel bypass
feed handlers
shared memory
multicast
replay
How to Approach This
  1. Start by clarifying functional and non-functional requirements with the interviewer.
  2. Estimate the scale: QPS, storage, bandwidth. This drives your design decisions.
  3. Draw a high-level architecture first, then deep dive into 1-2 critical components.
  4. Discuss trade-offs explicitly (e.g., consistency vs availability, SQL vs NoSQL).
  5. Address failure scenarios, monitoring, and how the system handles 10x traffic spikes.
Possible Follow-up Questions
  • How would you build a consolidated cross-venue book and what latency does it add?
  • Which parts would you move to FPGA and why?
  • How do you roll out a decoder change for one venue without risking others?
  • How would you measure tick-to-trade latency end to end?
Sharpen Your Skills on Codemia

Practice similar problems with our interactive workspace, get AI feedback, and track your progress.

Practice System Design Problems
Sample Answer
Requirements

Functional: decode each venue's native protocol (ITCH-like order-level, or aggregated level feeds), maintain books, publish a normalized schema (instrument id, side, price in ticks, size, venue, excha...

High-Level Design

In each colocation site: (1) feed handler processes per venue, pinned to isolated cores, receiving A and B multicast via kernel bypass (ef_vi or DPDK style) on dedicated NICs; (2) each handler arbitra...


Submit Your Answer
Markdown supported

Related Questions