100,000 Notifications/sec
Sustained peak request volume during high-traffic events.
Deliver billions of multi-channel transactional notifications with priority queues and rate limiting.
Target production parameters expected in a senior or staff interview round.
Sustained peak request volume during high-traffic events.
Daily active users generating read and write operations.
Projected data ingestion and replication storage capacity.
Strict end-to-end percentile latency SLA constraint.
Establish clear problem boundaries before proposing architectural components.
Step-by-step arithmetic conversions for QPS, storage, and bandwidth.
| Dimension | Calculation Formula | Estimated Result |
|---|---|---|
| Notification Throughput | 100M users × 5 notifications/day = 500M notifications/day | ~5,800 avg/sec (~100,000 Peak/sec during flash events) |
How requests navigate ingress gateways, application logic, caching, and persistence.
Validates payload, checks idempotency key, and rejects duplicate notifications within 10 minutes.
Separates Critical (OTP), Transactional, and Marketing queues into dedicated processing pools.
Manages carrier rate limits, token rotation, and third-party error retries.
Entity models, indexing, and primary key partitioning.
Cached in memory for instant validation.
How to defend engineering compromises when challenged by interviewers.
Rationale: Dedicated queues prevent massive marketing campaigns from starving critical two-factor authentication SMS messages.
Key interview questions and conceptual defenses.
Use client-provided idempotency keys cached in Redis with a 10-minute TTL to drop redundant triggers.