All Projects
Backend
Real-Time Notification System
Built an event-driven notification system that delivered sub-second messages across web and mobile clients, handling traffic spikes with at-least-once delivery guarantees.
Overview
A real-time notification system built with FastAPI, RabbitMQ, and WebSockets. Supports web and mobile clients with at-least-once delivery guarantees and automatic reconnection.
Tech Stack
PythonFastAPIRabbitMQWebSocketsRedisNginx
Architecture
Client
Web + Mobile WebSocket
API Gateway
Nginx
Notification Service
FastAPI
Message Queue
RabbitMQ fanout
Redis
Session state
Topics
python
fastapi
rabbitmq
websockets
real-time
event-driven
Engineering Challenges
Achieving sub-second notification delivery while handling traffic spikes and supporting both web and mobile clients with different connection patterns.
Lessons Learned
WebSockets plus message queues are the right pattern for real-time delivery. Fanout exchanges are simpler than topic exchanges for broadcast semantics.