Concept 13
Queues and streams
Move work between services without assuming it runs only once.
11 lessons · 5 notes · 14 labs · 1 simulator · 8 design problems · 26 vault drills · 1 incident · 6 free
You need these first
Each topic builds on the ones before it. Read one page from each, then come back.
- APIs and communication · start with Introduction to APIs (REST & JSON)
Locked
66 matching resources
Lesson
- Async Patterns & Message QueuesLesson
Locked 15 min read - Message Queues Deep DiveLesson
Locked 12 min read - Delivery SemanticsLesson
Locked 7 min read - Dead Letter QueuesLesson
Locked 8 min read - CDC (Change Data Capture)Lesson
Locked 8 min read - Batch vs Stream ProcessingLesson
Locked 20 min read - Event-Driven ArchitectureLesson
Locked 18 min read - CQRS PatternLesson
Locked 12 min read - Lambda Vs Kappa ArchitectureLesson
Locked 20 min read - Design a High-Deliverability Distributed Email Gateway (SendGrid / SES Style)Lesson
Locked 20 min read - Batching and Async ProcessingLesson
Locked 19 min read
Note
- Kafka, Explained With SlidersNote
Locked 22 min read - Kafka Hands-on LabNote
Locked 40 min read - Transactional OutboxNote
Locked 20 min read - Design Live Comments (Hotstar / JioCinema Match Chat)Note
Locked 46 min read - Designing a Resilient Distributed Job SchedulerNote
Locked 19 min read
Lab
- Queue Basics: Your First Queue, Acknowledgements and Duplicate MessagesLab
Locked Laptop + Docker - RabbitMQ Competing Consumers Queue, Prefetch QoS & Dead Letter ExchangesLab
Locked Laptop + Docker - Distributed Background Job Queue, Worker Concurrency & Exponential BackoffLab
Locked Laptop + Docker - Kafka Fundamentals in KRaft Mode: Partitions, Consumer Groups & Offset ReplayLab
Locked Laptop + Docker - Kafka Consumer Groups, Offset Commit Semantics & Lag MonitoringLab
Locked Laptop + Docker - Kafka Consumer Group Partition Rebalancing and Pod EvictionLab
Locked Laptop + Docker - Kafka Dead Letter Queue & Poison Pill IsolationLab
Locked Laptop + Docker - Kafka Hot-Key Partition Skew & Salting MitigationLab
Locked Laptop + Docker - Transactional Outbox Pattern & Polling Relay (PostgreSQL SKIP LOCKED)Lab
Locked Laptop + Docker - Distributed Transactions: Orchestrated Saga with Compensating ActionsLab
Locked Laptop + Docker - Real-Time Protocols: WebSockets vs SSE & Reconnect Storm MitigationLab
Locked Laptop + Docker - Change Data Capture (CDC) with PostgreSQL WAL Logical DecodingLab
Locked Laptop + Docker - CQRS Architecture & Read Model ProjectionsLab
Locked Laptop + Docker - UPI Payment System Capstone: Idempotency, Outbox, Sagas & ReconciliationsLab
Locked Laptop + Docker
Simulator
- Chat Message Flow, Step by StepSimulator
Locked 12 min readBrowser, no install
Design problem
- Design Notification System (Push, SMS, Email at Scale)Design problem
Locked 42 min read - Design a Reliable Webhook Delivery SystemDesign problem
Locked 47 min read - Design a Web Crawler (Polite, Deduplicated, at Scale)Design problem
Locked 43 min read - Design an Online Judge (Run Untrusted Code Safely)Design problem
Locked 30 min read - Design a Chat App (Real-Time Messaging at Scale)Design problem
Locked 38 min read - Design an Ad Click Aggregator (Count, Bill, Pace)Design problem
Locked 30 min read - Design a Log Aggregation Platform (Search, Retention, Cost)Design problem
Locked 48 min read - Design a Distributed Job Scheduler (On Time, Once, Recoverable)Design problem
Locked 42 min read
Vault drill
- Why Kafka Can Handle Millions of Writes Per Second on Standard DisksVault drill
Free 16 min read - Stream Live Postgres Changes to ClickHouse Without Hurting ProductionVault drill
Locked 15 min read - Which Module Do You Extract First from a Monolith Without Downtime?Vault drill
Free 14 min read - How to Verify and Ingest Payment Webhook Bursts Without DuplicatesVault drill
Free 14 min read - How to Save to the Database and Publish to Kafka Without Losing EventsVault drill
Free 15 min read - How to Fix Kafka Consumer Lag When One Partition Falls BehindVault drill
Locked 16 min read - Why an Idempotent Producer Is Not Enough for Exactly-Once in KafkaVault drill
Free 16 min read - How to Move Data Out of a Monolith Database Without DowntimeVault drill
Locked 16 min read - How to Build Non-Blocking Retries and Dead-Letter Queues in KafkaVault drill
Locked 15 min read - Why CPU-Based Scaling Fails for Workers and How KEDA Scales on LagVault drill
Locked 15 min read - How Tiered Storage Offloads Old Kafka Logs to Object StorageVault drill
Locked 16 min read - How Kafka Log Compaction and Tombstones Keep Only the Latest Update per KeyVault drill
Locked 15 min read - How to Catch Credit Card Fraud in Under 100ms with Apache FlinkVault drill
Locked 20 min read - How Do You Handle Late and Out-of-Order Data in Apache Flink?Vault drill
Locked 15 min read - How Apache Iceberg Gives Data Lakes ACID Writes Without Table LocksVault drill
Locked 15 min read - How to Delete User Data from Immutable Kafka Logs and S3 BucketsVault drill
Locked 15 min read - How Do You Change a Kafka Event Schema Without Breaking Consumers?Vault drill
Locked 14 min read - Kafka Consumer Lag Grows to 10 Million, and Adding Pods Does NothingVault drill
Locked 14 min read - Kafka Consumers Freeze Every 5 Minutes on CommitFailedException. Why?Vault drill
Locked 14 min read - Kafka Consumer Updates the Database, Then Crashes Before Committing Its OffsetVault drill
Locked 14 min read - Kafka Broker Cluster Goes Down. Should Checkout Keep Accepting Orders?Vault drill
Locked 14 min read - The Kafka Consumer Silently Dropping Messages on Pod RestartVault drill
Locked 12 min read - Sending 10 Million Push Notifications in 5 Minutes Without Taking Down CheckoutVault drill
Locked 15 min read - Why a Queue on AWS Is Not the Same as a Queue on AzureVault drill
Locked 16 min read - How to Migrate a Core Database with Zero Downtime and Safe RollbackVault drill
Locked 16 min read - How Do You Run Scheduled Jobs Without Sending the Same Payout Twice?Vault drill
Locked 8 min read
Incident
- The Order That Lost Its EventIncident
Free Browser, no install