Real-Time and Streaming System Design Questions

Designing client-facing, always-on live delivery systems: real-time communication transports (WebSockets, server-sent events, long-polling, WebRTC, MQTT), connection lifecycle and scaling for millions of persistent connections, presence, pub/sub fan-out to online users, chat and notifications, live feeds and tickers, real-time collaboration (CRDT vs OT, offline sync and reconciliation), and live and on-demand video delivery (ingest, transcoding, adaptive bitrate, CDN delivery, low-latency protocols, playback entitlement and content protection). Covers latency budgets, per-client ordering, delivery guarantees across disconnect and reconnect, per-client backpressure, capacity estimation for connection fleets, authentication, authorization, and revocation for real-time channels and premium content, and operational readiness (SLOs and error budgets, observability and incident response, rate limiting, safe rollout, and load and chaos testing) for live-delivery platforms. Data-pipeline stream processing (Kafka or Flink jobs, windowed aggregation, exactly-once pipelines, real-time analytics ingestion) is out of scope.

MediumTechnical
61 practiced

You're on a sales call: a customer says they need 'real-time' user presence and in-app notifications for 500k monthly users but has a limited budget and prefers cloud-managed services. What discovery questions do you ask to uncover performance, durability, retention, compliance, and UX expectations? Draft an MVP architecture and explain how you'd balance cost, functionality, and ability to iterate.

MediumTechnical
45 practiced

A client asks whether to use a managed real-time platform (e.g., AWS API Gateway WebSocket, AppSync, Pusher) versus building and operating their own WebSocket fleet. Create a decision matrix comparing cost, time-to-market, operational risk, customization and feature flexibility, vendor lock-in, and compliance. Provide recommendations for a bootstrapped startup and for a regulated large enterprise.

That is every published Real-Time and Streaming System Design question for Technical Product Manager so far. Browse the other topics in this category, or practice this one interactively.