Load Balance multiple RTMP Servers to Horizontally Scale Streaming (Node Media Server and HAProxy)
Описание
In this video I will show case the new Node Media Server , a Node JS implementation of an RTMP server used for streaming setup. I will show how to install and spinup an RTMP server and stream to it from OBS. Then I will spin up multiple ones, then I’ll show how to relay the stream to multiple RTMP servers and finally I will use HAProxy to load balance the stream consumption to achieve high availability.
Configurations
https://github.com/hnasr/javascript_playground/tree/master/rtmp
Node Media Server
https://www.npmjs.com/package/node-media-server
0:00 Intro
2:00 Single RTMP Server
6:00 Multiple RTMP Servers
7:00 Relay Server
12:00 Load Balancing RTMP Servers
?️Listen to the Backend Engineering Podcast
https://husseinnasser.com/podcast
? Backend Engineering Videos
https://backend.husseinnasser.com
? Database Engineering Videos
https://www.youtube.com/playlist?list=PLQnljOFTspQXjD0HOzN7P2tgzu7scWpl2
? Load Balancing and Proxies Videos
https://www.youtube.com/playlist?list=PLQnljOFTspQVMeBmWI2AhxULWEeo7AaMC
?️ Software Archtiecture Videos
https://www.youtube.com/playlist?list=PLQnljOFTspQXNP6mQchJVP3S-3oKGEuw9
? Messaging Systems
https://www.youtube.com/playlist?list=PLQnljOFTspQVcumYRWE2w9kVxxIXy_AMo
Become a Member
https://www.youtube.com/channel/UC_ML5xP23TOWKUcc-oAE_Eg/join
Support me on PayPal
https://bit.ly/33ENps4
Join our Thriving Backend Community on Discord
https://discord.com/invite/CsFbFce
Stay Awesome,
Hussein
Рекомендуемые видео







![Embracing Virtual Threads with Helidon [I/O] Inside Java Podcast 65](/images/video/2026-08-14/77/6b/776b9d77631f4ebdc6a1bed418555304.jpg?width=640)









