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
Видео Scaling Websockets with Redis, HAProxy and Node JS - High-availability Group Chat Application канала Hussein Nasser
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
Видео Scaling Websockets with Redis, HAProxy and Node JS - High-availability Group Chat Application канала Hussein Nasser
Показать
Комментарии отсутствуют
Информация о видео
Другие видео канала
WebSockets Crash Course - Handshake, Use-cases, Pros & Cons and moreWhatsapp System Design: Chat Messaging Systems for InterviewsI can’t believe how smart this is! He Hacked Into Apple and Microsoft with this genius trick.I ask this question to every Backend Engineer I interviewPublish-Subscribe Architecture (Explained by Example)Scaling and Securing WebSockets with HAProxyIs this the end of WebSockets? - The New WebTransport ProtocolLoad balancing in Layer 4 vs Layer 7 with HAPROXY ExamplesProxy vs. Reverse Proxy (Explained by Example)Redis Caching in Node.jsIs there a Limit to Number of Connections a Backend can handle?Mastering Chaos - A Netflix Guide to MicroservicesProtocol Buffers Crash CourseRedis Crash CourseFive Password Authentications From Least to Most Secure (Explained with NodeJS & Postgres)What are WebSockets | How is it different from HTTP?Cross Site Request Forgery vs Server Side Request Forgery ExplainedWebSockets in 100 Seconds & Beyond with Socket.ioApache Kafka Crash Course