Jump to content
  • 0

AMS Clustering


Velislav Valov
 Share

Question

Hello!

We are planing to build AMS cluster to stream WebRTC. Our idea is part of our cluster machine to not serev content to end clients but to be an entry point for the video content that is comming from the encoders.

I was wondering how AMS distributes the transcoded content in the cluster. I want to send rtmp stream to one of the cluster machines. Do all the machines in the cluster transcode the stream for different connection speed or they just take the transcoded stream from this machine?
Link to comment
Share on other sites

  • Answers 5
  • Created
  • Last Reply

Top Posters For This Question

Top Posters For This Question

Posted Images

5 answers to this question

Recommended Posts

  • 0

Hi,

We have documented our suggested cluster structure here.
As it is documented, we strongly suggest to separate origin severs and edge server. Actually origin servers are responsible for transcoding and edge servers are responsible for serving the video to end users. So, if you separate origin and edges, you can use more powerful instances for origins because they transcode the video. And less powerful machines for edges. Actually in your first diagram (scenario 1) you have already separated them. 
For the second scenario, it may still work but we don't recommend it. Because it may cause ineffective load balancing, network complexity on runtime, maintainability issues. 

 

Link to comment
Share on other sites

  • 0

Hi,

Thanks for your response. I checked the Scaling and Load Balancing chapter and I have some questions:
1. Are the origin AMS also part of the cluster but marked in the DB as non serving end users?
2. Should I point my studio stream straight to one server? If this is the case, what happens when I need to shutdown this specific server for maintenance or it goes out of order suddenly for some reason?

 

Link to comment
Share on other sites

  • 0
1. Are the origin AMS also part of the cluster but marked in the DB as non serving end users?
Actually a node doesn't know whether it is origin or edge. You will determine that with the load balancer settings. Generally we are using different ports for origin and edge servers. For example, the load balancer can forward 443 to origins and 5443 to edges.
2. Should I point my studio stream straight to one server? If this is the case, what happens when I need to shutdown this specific server for maintenance or it goes out of order suddenly for some reason?
You can create redundant servers for backup and such unexpected conditions.This is done by some customers.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share


×
×
  • Create New...