This question evaluates competency in designing low-latency, real-time streaming systems including market-data ingestion, ephemeral in-memory state management, pub/sub fan-out and topic design, client delivery protocols, backpressure and slow-consumer strategies, scaling and load-shedding, consistency and ordering guarantees, and operational monitoring. Commonly asked in the System Design domain to probe an engineer's ability to make production-grade trade-offs around availability, ordering, throttling, partitioning, and quotas, it requires both high-level conceptual architectural reasoning and practical application-level considerations such as protocol choices, sharding, and observability.

You are designing a real-time market data push service that streams live stock prices to client applications. The system must not persist historical price data; it may keep only ephemeral in-memory state needed to serve current subscriptions and short reconnects.
Design and describe the system end-to-end, covering:
Assume internet-scale clients (mobile/web/servers), heterogeneous network quality, and that only current prices are needed (no historical queries). Keep the design production-grade and specific about contracts, limits, and trade-offs.
Login required