Realtime Chat Service
WebSocket chat backend handling 50k concurrent connections per node, with Redis pub/sub.
About this project.
Existing chat service was a single-process Socket.IO server falling over above 8k concurrent users. Goal: horizontal scaling without rewriting client code.
Sharded the connection layer behind an Nginx upstream that uses sticky sessions, swapped in a Redis adapter for cross-node broadcasts, added presence tracking via Redis sets with TTLs. Single node now sustains 50k concurrent.
Screenshots
Feature set
Sharing and access
- Signed, expiring download links
- Embedded admin panel
- Public landing pages
Operations
- Single binary Docker image
- Health checks and JSON logs
- No external dependencies
You might also like.
Webhook Gateway
Centralised webhook ingress with signature verification, replay, and dead-letter queues.
View projectBilling Microservice
Stripe-backed billing service with idempotent webhooks, retries, and invoice PDFs.
View projectTemp Downloads App
Self-hosted Node.js app for secure, expiring download links with an admin panel and landing pages.
View project