highly-available-chat
highly-available-chat copied to clipboard
Highly Available WebSocket-based Chat Application
Basic horizontally scalable chat app build with Node.js, Redis and Docker Swarm
A simple chat app that demonstrates horizontal scaling.
Setup
- Build docker image using
docker build -t ha-chat . - Deploy the stack to docker swarm using
docker stack deploy -c docker-compose.yml chat - Scale chat instances using
docker service scale chat_chat=X(where X is number of instances)