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.

MediumBehavioral
59 practiced

Tell me about a time you led incident response for a realtime service outage. Describe the Situation, the Task you had, the Actions you took (technical and organizational), the Result (customer impact/metrics), and what you changed afterwards. Focus on your role coordinating stakeholders and technical decisions.

HardSystem Design
48 practiced

Design an end-to-end realtime system to broadcast order-book updates for a high-frequency trading platform to thousands of subscribers. Requirements: maintain strict ordering per instrument, sub-10ms tail latency within region, support replay of missed updates for up to 1 minute, guarantee at-most-once delivery for downstream processing, and handle 100k updates/sec. Detail components (ingest, sequencer, transport), storage for replay, sequencing, backpressure handling, and operational considerations.

MediumTechnical
61 practiced

Discuss memory management strategies for a high-throughput streaming server that maintains per-connection buffers. Cover pooling, slab allocators, eviction strategies, soft and hard memory limits, and how to avoid OOM during traffic spikes. Include trade-offs between larger per-connection buffers and applying backpressure.

HardTechnical
46 practiced

You're paged: a realtime notifications service is showing a surge in 'message-not-delivered' errors and many clients report missing notifications after a recent deployment. Outline an incident response plan: immediate mitigations to reduce customer impact, the data you would gather (logs, metrics, traces), likely causes to investigate (rollback, schema change, broker saturation, memory pressure), and post-incident remediation and preventive measures.

HardTechnical
46 practiced

Design and provide pseudocode for a server-side backpressure policy that, upon crossing a memory threshold, selectively drops, compresses, or aggregates messages per-client priority. The policy should preserve high-priority messages, emit metrics for dropped messages, and support graceful degradation. Explain rollout strategy and safety guards to avoid broad customer impact.

Unlock Full Question Bank

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

Sign in to Continue

Join thousands of developers preparing for their dream job.