// TOPIC

#messaging

9 articles

◆◆IntermediateStripeSvix
01

Design a Webhook Delivery System

Design a webhook delivery system: fan-out queues, retries with backoff and jitter, HMAC signing, circuit breakers, and dead-letter redelivery at Stripe scale.

#interview#messaging#queues
18 min
◆◆◆AdvancedAmazonLinkedIn
02

Design a Distributed Message Queue (Kafka)

Build a durable, partitioned, replicated commit log like Kafka — ordering, consumer groups, replication (ISR), and exactly-once.

#interview#messaging#distributed-systems
22 min
◆◆◆AdvancedGoogleMicrosoft
03

Design an Email Service (Gmail)

Send, receive, store, and search email for hundreds of millions of users. SMTP ingestion, sharded mailbox storage, full-text search, and spam filtering.

#interview#storage#search
25 min
◆◆◆AdvancedSlackMicrosoft
04

Design Slack (team chat at scale)

Channels, threads, presence, and search across huge workspaces. Real-time fan-out over WebSockets, the gateway problem, and read-state per user.

#interview#realtime#messaging
26 min
◆◆IntermediateStripeAmazon
05

Idempotency & Exactly-Once Semantics

Networks retry, so your operations will run twice. Idempotency keys, dedup, and why "exactly-once delivery" is a myth but "exactly-once effect" is achievable.

#distributed-systems#reliability#messaging
19 min
◆◆IntermediateConfluentNetflix
06

Change Data Capture (CDC) & the Outbox Pattern

Turn your database write log into a reliable event stream. Log-based CDC, the dual-write problem, and the transactional outbox.

#distributed-systems#data-pipelines#messaging
18 min
◆◆IntermediateMetaGoogle
07

Design a Notification System (Push, Email, SMS)

A reliable multi-channel notification platform — fanout, templates, dedup, rate limiting, and the realities of APNS/FCM.

#interview#notifications#messaging
18 min
◆◆◆AdvancedMetaDiscord
08

Design WhatsApp / Chat System

Realtime 1:1 and group messaging at billions-of-users scale. WebSocket gateways, message store, presence, end-to-end encryption.

#interview#realtime#websocket
18 min
◆◆Intermediate
09

Message Queues and Event Streams

Queues vs streams, Kafka in depth, delivery semantics, idempotency, dead-letter queues, schema registries, the outbox pattern, and stream processing fundamentals.

#messaging#asynchronous#kafka
18 min