InterviewStack.io LogoInterviewStack.io

Real-Time and Streaming System Design Questions

Designing low-latency, always-on systems: real-time communication (WebSockets, long-polling, server-sent events), presence and pub/sub fan-out, live streaming and video delivery, and real-time collaboration. Covers latency budgets, connection scaling, and delivering ordered updates to many concurrent clients. The design surface for chat, feeds, streaming, and collaborative apps.

HardSystem Design
94 practiced

Design a high-throughput, fault-tolerant log-processing pipeline that uses queues between stages (ingest, parse, enrich, index). Describe queue choices (in-memory vs persistent), backpressure handling, at-least-once vs exactly-once semantics, how to scale stages independently, and how to recover from partial failures without data loss.

HardSystem Design
60 practiced

Design a streaming pipeline to ingest, enrich, and materialize 1 million events per second with end-to-end processing latency under 500ms. Choose ingestion, buffering, processing framework and state storage approaches, explain checkpointing and fault recovery, and identify primary bottlenecks and mitigation strategies.

HardSystem Design
45 practiced

You are the technical lead asked to deliver real-time analytics for a newly released recommendation feature. Design the high-level architecture (streaming vs micro-batch), components for ingestion, processing, storage, monitoring, data validation, and the ownership model. Explain rollout strategy, backfill approach, and how you'd measure data quality and business impact.

HardSystem Design
51 practiced

Architect a globally distributed real-time chat system supporting 100 million daily active users and peaks of 10k messages per second. Address user presence, message routing and partitioning, ordering guarantees, offline delivery and reconciliation, moderation and abuse controls, multi-region replication, latency targets, and capacity planning.

MediumSystem Design
90 practiced

Design a comments feature for collaborative document editing (e.g., comment threads anchored to document ranges). Clarify requirements with product (real-time vs. non-real-time, access control, edit history), state assumptions, propose two designs for real-time collaboration (e.g., CRDT vs. OT) and offline-first comments, discuss trade-offs in consistency/latency/usability, and outline how you'd communicate the design to product and QA.

Unlock Full Question Bank

Get access to all 11 Real-Time and Streaming System Design interview questions and detailed answers.

Sign in to Continue

Join thousands of developers preparing for their dream job.