Scaling Websockets with Redis, HAProxy and Node JS – High-availability Group Chat Application



Scaling Websockets with Redis, HAProxy and Node JS – High-availability Group Chat Application

Scaling Websockets with Redis, HAProxy and Node JS - High-availability Group Chat Application

In this video I want to demonstrate how to scale websockets connection to multiple servers using a load balancer such as HAProxy.

0:00 Intro
1:00 What are WebSockets?
2:40 WebSockets Scaling
7:44 Chat WebSocket App Code

* WebSockets
* WebSockets Scaling
* Live chat application (microservices)
* Demo

Source Code
https://github.com/hnasr/javascript_playground/tree/master/ws-live-chat-system

๐Ÿญ Software Architecture Videos
https://www.youtube.com/playlist?list=PLQnljOFTspQXNP6mQchJVP3S-3oKGEuw9

๐Ÿ’พ Database Engineering Videos
https://www.youtube.com/playlist?list=PLQnljOFTspQXjD0HOzN7P2tgzu7scWpl2

๐Ÿ›ฐ Network Engineering Videos
https://www.youtube.com/playlist?list=PLQnljOFTspQUBSgBXilKhRMJ1ACqr7pTr

๐Ÿฐ Load Balancing and Proxies Videos
https://www.youtube.com/playlist?list=PLQnljOFTspQVMeBmWI2AhxULWEeo7AaMC

๐Ÿ˜ Postgres Videos
https://www.youtube.com/playlist?list=PLQnljOFTspQWGrOqslniFlRcwxyY94cjj

๐ŸšขDocker
https://www.youtube.com/playlist?list=PLQnljOFTspQWsD-rakNw1C20c1JI8UR1r

๐Ÿงฎ Programming Pattern Videos
https://www.youtube.com/playlist?list=PLQnljOFTspQV1emqxKbcP5esAf4zpqWpe

๐Ÿ›ก Web Security Videos
https://www.youtube.com/playlist?list=PLQnljOFTspQU3YDMRSMvzflh_qXoz9zfv

๐Ÿฆ  HTTP Videos
https://www.youtube.com/playlist?list=PLQnljOFTspQU6zO0drAYHFtkkyfNJw1IO

๐Ÿ Python Videos
https://www.youtube.com/playlist?list=PLQnljOFTspQU_M83ARz8mDdr4LThzkBKX

๐Ÿ”† Javascript Videos
https://www.youtube.com/playlist?list=PLQnljOFTspQWab0g3W6ZaDM6_Buh20EWM

๐Ÿ‘พDiscord Server https://discord.gg/CsFbFce

Support me on PayPal
https://bit.ly/33ENps4

Become a Patreon
https://www.patreon.com/join/hnasr?

Stay Awesome,
Hussein

Comments are closed.