A reliable, multi-channel (Push, SMS, Email) notification system designed to handle over 1 million users. The architecture prioritizes at-least-once delivery, strict deduplication, horizontal scalability, and automatic provider failover.
- Ingress: High-throughput REST/gRPC endpoints receiving notification requests from internal microservices.
- Payload Validation: Validates recipient schemas, token presences, and templates before acknowledging receipt.
- Immediate Ack: Acknowledges requests with a unique notification_id and HTTP 202 (Accepted) immediately after pushing to the ingestion queue.