Backend service
Multi-Tenant Notification Engine
Notification service that keeps sending messages even when an outside email or SMS provider goes down.
- Role
- Backend architecture & implementation
- Stack
- TypeScriptNode.jsExpressRedisBullMQPostgreSQLDocker
- The problem
- When an app sends an email or text message directly through an outside provider, any slow server or outage freezes the whole app. Users get stuck waiting, and important messages get lost.
- The constraint
- Different company accounts share the same server. Third-party notification services go down without warning, but no message can ever be lost.
- The approach
- I split message reception from message delivery using a Redis and BullMQ queue. Incoming requests get an instant success response in milliseconds. Background workers send the messages, retry automatically with exponential backoff if a provider fails, and use Redis locks so one company cannot hog all the bandwidth.
- The result
- Fast message receiving that never freezes, automatic retries when services fail, and complete protection between different business accounts.
Need something like this?
I build web products and the backend systems underneath them, from first commit to live production. Tell me what you are trying to do.