Skip to content

Scaling Websockets with Redis, HAProxy and Node JS to Build highly scalable Group Chat-application

Notifications You must be signed in to change notification settings

sujay2306/ws-live-chat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

How it works

Installation

build this image as

"docker build -t wsapp ."

next run

docker-compose up

Usage

open a browser console and type this

let ws = new WebSocket("ws://localhost:8080");
ws.onmessage = message => console.log(`Received: ${message.data}`);
ws.send("Hello! I'm client")

open multiple console windows to simulate multiple clients

License

MIT

About

Scaling Websockets with Redis, HAProxy and Node JS to Build highly scalable Group Chat-application

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published