Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

About Cluster: Several questions about forward, edge, slave, master, etc. Please maintain the markdown structure. #938

Closed
juntaoliu opened this issue Jul 13, 2017 · 2 comments
Assignees
Labels
Discussion Discussion or questions. TransByAI Translated by AI/GPT.
Milestone

Comments

@juntaoliu
Copy link
Contributor

juntaoliu commented Jul 13, 2017

Hi,
I have set up a source station cluster with three machines (1 master, 2 slaves), and several other machines as edges to pull streams from the source station, which is working fine. I am using the latest version of SRS 2.0. I have a few questions that I would like to ask everyone:

  1. Although the source station cluster consists of three machines, only the master machine is receiving the push streams. This means that the push receiving capacity of the entire cluster is limited to the capabilities of the master machine, as a single SRS server has a maximum limit for pushing streams (e.g., 2k). In practice, how can this issue be resolved?

1.1 Even if the push stream access is done through Edge servers to distribute the load on different terminals, it will still ultimately converge on the Master server, which has the same limit of 2k for pushing streams. Is this understanding correct?

  1. The Master and Slave servers form a simple hot backup system. When the Master server goes down, the Slave server also cannot receive the pushed streams (since the Slave's streams are forwarded by the Master). In this case, even if the Edge server is connected to the Slave, it cannot receive the RTMP streams. So, where does the hot backup function come into play in this scenario?

  2. Continuing from the previous question, if the Edge server's origin is configured with the three mentioned source server IPs, will it automatically switch to the next one if one of the IPs goes down? What is the order of the switching? Is it round-robin or can it be configured?

  3. If the Edge server's origin is configured with three source server IPs, namely master, slave1, and slave2, how does the Edge server determine which one is the master when receiving a live stream? If it selects a server that is not the master, such as slave2, how does the stream get forwarded to the master and slave1?

TRANS_BY_GPT3

@winlinvip
Copy link
Member

Origin cluster is not supported yet, please read #464

@winlinvip
Copy link
Member

winlinvip commented Sep 15, 2021

Origin Cluster is supported in SRS 3.0.

TRANS_BY_GPT3

@winlinvip winlinvip self-assigned this Sep 15, 2021
@winlinvip winlinvip added the Discussion Discussion or questions. label Sep 15, 2021
@winlinvip winlinvip added this to the 3.0 milestone Sep 15, 2021
@winlinvip winlinvip changed the title 关于Cluster:forward、edge、slave、master等的若干问题 About Cluster: Several questions about forward, edge, slave, master, etc. Please maintain the markdown structure. Jul 28, 2023
@winlinvip winlinvip added the TransByAI Translated by AI/GPT. label Jul 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Discussion Discussion or questions. TransByAI Translated by AI/GPT.
Projects
None yet
Development

No branches or pull requests

2 participants