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

How to loadbalance on a Origin - Edge configuration? #482

Closed
deluxor opened this issue Sep 17, 2015 · 1 comment
Closed

How to loadbalance on a Origin - Edge configuration? #482

deluxor opened this issue Sep 17, 2015 · 1 comment
Assignees
Labels
EnglishNative This issue is conveyed exclusively in English.
Milestone

Comments

@deluxor
Copy link

deluxor commented Sep 17, 2015

Hello friend can you please tell me how do you do loadbalancing on a ORIGIN -> EDGE configuration?

I think better way for now is to read from HTTP API the number of connected clients and redirect to the less used server, what do you think?

@winlinvip
Copy link
Member

Exactly right.

The origin must be a cluster which know each other, please read #464
Or, there is a more smple solution: user config the max connection on origin and redirect to next when exceed.

Origin can use RTMP 302, defined by Adobe to let edge to redirect to another origin.
About the RTMP 302, please read #369

@winlinvip winlinvip added this to the srs 3.0 release milestone Sep 17, 2015
@winlinvip winlinvip self-assigned this Sep 25, 2021
@winlinvip winlinvip added the EnglishNative This issue is conveyed exclusively in English. label Jul 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
EnglishNative This issue is conveyed exclusively in English.
Projects
None yet
Development

No branches or pull requests

2 participants