Design a Push Subscription & Pub/Sub System
Design a global publish/subscribe system with millions of subscribers, durable delivery, and filtering.
- Topics vs queues, fanout, and filtering
- Durable storage, acknowledgments, retries
- Ordering guarantees: per-partition vs global
- Latency and throughput trade-offs
- Backpressure, DLQs, and retries
- 💡Partition topics for ordering guarantees.
- ⚠️**Assuming global ordering is feasible without significant performance penalties.**
- ⚠️**Underestimating the complexity of idempotency for at-least-once delivery.**
- ⚠️**Implementing filtering solely on the subscriber side, leading to excessive network traffic and client-side load.**
- ⚠️**Not adequately planning for regional failures and disaster recovery in a global deployment.**
- ⚠️**Ignoring the operational overhead and complexity of managing a large-scale distributed messaging system.**
- ❓How to support once-only delivery?
- ❓How to implement filtering efficiently?
Ready to prove your AWS SysOps knowledge?
Practice with free SysOps Administrator Associate (SOA-C02) exam questions. Instant answers and detailed explanations — no account required.
Start free practice quizQuestions that share similar topics with this one
Scaling Message Queues
AdvancedExactly-Once Effects with the Outbox Pattern
AdvancedDesign a Multi-Channel Notification Service
IntermediateDesign a Distributed Job Scheduler
IntermediateK8s Readiness vs Liveness Probes
IntermediateDeepen your knowledge with these related blog posts
Taming Toil: Eliminating Repetitive Work to Scale SRE Teams
Toil kills engineering velocity and burns out teams. Learn how to measure, reduce, and automate toil in SRE and DevOps environments — with actionable best practices, anti-patterns, and case studies.
The Pragmatic SRE Guide to SLOs: From Business Goals to Error Budgets
Go beyond uptime percentages—learn how to map business goals into user-centric SLOs, define error budgets, and set up actionable alerting with real-world examples.
Kubernetes Production Readiness Checklist
A practical checklist to ensure your Kubernetes clusters are production-ready. Covering security, reliability, operational safeguards, observability, and common pitfalls every team should avoid.