New episode live · WhatsApp Typing Indicator

The engineering behind everyday
internet features.

Interactive deep dives into distributed systems and AI infrastructure. See the architecture, simulate failures, understand the tradeoffs — visually.

10+
Episodes planned
100%
Free to read
Visual
Interactive diagrams
A
Alice
typing…
Hey! Did you see the match last night?
Yeah it was insane 🔥
That last minute goal though
Under the hood ↓
Phone Gateway Redis
Redis Gateway B Bob
WebSockets · persistent connections Redis Pub/Sub · cross-gateway fan-out TTL expiry · presence as best-effort Consistent hashing · shard by conv_id Reconnect storms · jitter + backoff HLD · LLD · DB Model · Tradeoffs RAG pipelines · coming soon UPI double payment · idempotency keys YouTube live latency · CMAF chunked streaming WebSockets · persistent connections Redis Pub/Sub · cross-gateway fan-out TTL expiry · presence as best-effort Consistent hashing · shard by conv_id Reconnect storms · jitter + backoff HLD · LLD · DB Model · Tradeoffs RAG pipelines · coming soon UPI double payment · idempotency keys YouTube live latency · CMAF chunked streaming
Latest episode
Now live
Coming next
Episode roadmap
Get notified →
Coming soon
Episode 02 · Realtime Systems
Slack/Teams Active-Inactive Status

How Slack tracks online/away for 20M+ concurrent users. Heartbeats, fanout storms, and why "active" isn't just one WebSocket ping.

WebSocketsHeartbeatPresence
Coming soon
Episode 03 · Scheduling
Google Calendar Free Slot Detection

How Calendar finds mutual free windows across time zones and calendars. Interval trees, aggregation, and smart scheduling at scale.

Interval treesSchedulingTime zones
Coming soon
Episode 04 · Streaming
YouTube Live Low Latency

From 30-second satellite delay to sub-3-second streams. CMAF, chunked encoding, CDN edge routing, and ABR algorithms.

CMAFCDNABR
Coming soon
Episode 05 · Realtime Systems
Instagram Seen Receipts

How Instagram delivers read receipts instantly without triggering a DB write per message open. Event batching and cursor mechanics.

Read receiptsRedisEvent sourcing
Coming soon
Episode 06 · Geo / Realtime
Uber Driver Live Tracking

Real-time GPS from driver to rider every second. Location interpolation, geo-indexing, and heading prediction on live maps.

GPSGeo-indexWebSockets
Coming soon
Episode 07 · Notifications
Push Notifications at Scale

APNs, FCM, and the fan-out queue architecture behind 500M device deliveries in seconds. Priority routing and delivery guarantees.

APNsFCMFan-out
Live now
1 of 40 episodes live · more coming soon
Browse by topic
All Realtime Systems AI Infrastructure Payments Streaming Notifications Databases Recommendations
What you get in every episode
Not just text. An experience.
01 · Architecture
Animated packet flows
Watch events travel across nodes in real time. Click any component to inspect its role.
🗃️
02 · Data Model
Interactive DB schema
Every table, every key. Why it's in Redis and not Postgres. What gets stored vs what expires.
🔍
03 · Design
HLD + LLD walkthrough
High-level system view, then a step-by-step sequence of exact method calls and state transitions.
⚖️
04 · Decisions
Tradeoff radar charts
Every design decision has a cost. Pros, cons, and when the right answer changes.
Free newsletter
New episode every week.
In your inbox.

Each edition covers one internet feature — with interactive diagrams, full architecture breakdown, and a downloadable PDF.

Free forever PDF with every episode No spam
Join engineers from top product companies · Unsubscribe anytime