This is a short demonstration of a horizontally scaled web socket application. It uses Redis as a pub/sub to push notifications into which will be received by all clients connected to the web socket server. Multiple instances of WebSocket server are spun up and nginx act as a reverse proxy here which establishes a TCP connection between clients and server.
ranjankuldeep / notification-service Goto Github PK
View Code? Open in Web Editor NEWThis is a short demonstration of a horizontally scaled websocket application. It uses redis as a pub/sub to push notification into which will be recived by all clients connected to websocket server. Multiple instances of websocket server is created and nginx act as reverse proxy here whihc establishes tcp connection between clients and server.