Stream Real-Time Stock Quotes to Millions of Yahoo Finance Viewers
Last updated: November 29, 2026
Quick Overview
Design a system that pushes live price updates from exchange feeds to Yahoo Finance web and mobile users watching quote pages and watchlists. Updates should arrive within about a second, and market open must not overload the system.
Yahoo
November 29, 20260
0
0 solved
Design a system that pushes live price updates from exchange feeds to Yahoo Finance web and mobile users watching quote pages and watchlists. Updates should arrive within about a second, and market open must not overload the system.
Yahoo Finance serves a very large retail audience whose traffic spikes at market open and on big news days. Interviewers look for fan-out design with topic-based pub/sub, connection management at scale, conflation of fast tickers, and graceful degradation.
What the Interviewer Expects
- Separate feed ingestion, normalization, pub/sub fan-out, and edge connection servers
- Use WebSockets or SSE with per-symbol subscriptions
- Conflate updates per symbol so slow clients get latest price, not every tick
- Estimate connections and messages per second at market open
- Handle reconnect with snapshot plus deltas
- Discuss licensing delays for some exchanges and delayed versus real-time tiers
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 do you keep a client's view consistent after a reconnect?
- How do you handle a symbol like TSLA that thousands of users watch while others are watched by a handful?
- What changes for mobile clients on flaky networks or in background mode?
- How would you add price alerts that trigger push notifications?
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: subscribe to a set of symbols (quote page or watchlist), receive price, change, and volume updates, and see a correct snapshot on load. Non-functional: p99 under 1 s from exchange to scree...
High-Level Design
- Feed handlers connect to exchange and vendor feeds, normalize into
(symbol, price, size, ts, seq). - Quote state service keeps the latest snapshot per symbol in memory and in a fast stor...