Load Balance multiple RTMP Servers to Horizontally Scale Streaming (Node Media Server and HAProxy)

Опубликовано: 05 Февраль 2021
на канале: Hussein Nasser
31,372
943

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_p...

Node Media Server
https://www.npmjs.com/package/node-me...


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
   • Database Engineering  

🏰 Load Balancing and Proxies Videos
   • Proxies  

🏛️ Software Archtiecture Videos
   • Software Architecture  

📩 Messaging Systems
   • Message Queues & PubSub Systems  

Become a Member
   / @hnasr  

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

Join our Thriving Backend Community on Discord
  / discord  

Stay Awesome,
Hussein