Design a Real-Time Market Data Distribution Service for Traders
Last updated: November 29, 2026
Quick Overview
Design a system that ingests price updates from exchanges and venues and distributes real-time quotes for tens of thousands of instruments to trader desktops, pricing engines and risk systems with low latency and no out-of-order updates per instrument.
J.P. Morgan
November 29, 20260
0
0 solved
Design a system that ingests price updates from exchanges and venues and distributes real-time quotes for tens of thousands of instruments to trader desktops, pricing engines and risk systems with low latency and no out-of-order updates per instrument.
J.P. Morgan's Markets division depends on fast, consistent market data for trading, pricing and risk, so this design appears in system design rounds for Markets and CIB technology. The interviewer checks that you separate ingestion, normalization and fan-out, preserve per-instrument ordering, and handle slow consumers without slowing down the whole feed.
What the Interviewer Expects
- Normalize venue feeds into one internal schema with sequence numbers
- Partition by instrument to keep per-symbol ordering
- Support snapshot plus incremental updates for late joiners
- Handle slow consumers with conflation instead of unbounded buffering
- Explain latency tiers: co-located algos versus desktop GUIs
Key Topics to Cover
How to Approach This
- Start by clarifying functional and non-functional requirements with the interviewer.
- Estimate the scale: QPS, storage, bandwidth. This drives your design decisions.
- Draw a high-level architecture first, then deep dive into 1-2 critical components.
- Discuss trade-offs explicitly (e.g., consistency vs availability, SQL vs NoSQL).
- Address failure scenarios, monitoring, and how the system handles 10x traffic spikes.
Possible Follow-up Questions
- How would you detect and recover from a gap in an exchange's sequence numbers?
- How do you entitle users so they only see data their licenses allow?
- What changes for the ultra-low-latency path used by electronic market making?
- How would you replay a trading day for a compliance investigation?
Sharpen Your Skills on Codemia
Practice similar problems with our interactive workspace, get AI feedback, and track your progress.
Practice System Design ProblemsSample Answer
Requirements
Functional: ingest feeds from exchanges and OTC venues, normalize, publish per-instrument quotes, let clients subscribe by symbol, and give a fresh snapshot on subscribe. Non-functional: hundreds of t...
High-Level Design
Feed handlers per venue decode native protocols and emit normalized messages (instrument, venue, bid, ask, sizes, venue_seq, ts). They publish to a partitioned log, partitioned by instrument id, so ...