Pub Sub Messaging System
This was a project to build a pub sub messaging system using websockets and redis with singleton pattern.
This was a project to build a pub sub messaging system using websockets and redis with singleton pattern. The project was built to scale and handle multiple users at the same time. They can either create a room or join one and can send clappers. This was a fun project to work on and I learned a lot about websockets and redis and bullmq.
The project was deployed on AWS ec2 but to reduce cost I had to shut it down.
Key Features
- Highly scalable infrastructure
- Pub sub messaging system with singleton pattern
- Real-time collaboration
- Dockersied application
- Redis and bullmq jobs
- Docker persist volume for redis
Tech Stack
ReactNode.jsDockerBull MQWebsocketsRedis