It's recommended to use edge cluster to connect directly the cameras and to use as a load balance to origin-cluster? #4163
Replies: 1 comment
-
For scenarios with many camera streams, multiple origin servers (an Origin Cluster) are needed. Currently, the Origin Cluster only supports the RTMP protocol and relies on the Edge Cluster for access. Origin Servers communicate with each other, as detailed at https://ossrs.io/lts/en-us/docs/v7/doc/origin-cluster. A new Origin Cluster, which is part of the Proxy Cluster solution, is under development. It already supports the RTMP protocol and no longer depends on the Edge Cluster. Additionally, there is no communication or dependency between Origin Servers, as detailed at #4158. It is recommended to use the new Proxy Cluster solution, which will support more protocols in the future. |
Beta Was this translation helpful? Give feedback.
-
Hello,
I currently have scenarios with multiple cameras connected to an SRS server running in standalone mode. My server is used only to generate recordings from the cameras as a backup, so there are no clients viewing the images.
However, in the medium term, the number of connected cameras will increase significantly, so I am already creating a high-availability infrastructure and thought about using an edge-cluster with an origin-cluster.
The idea would be to point all the cameras to an edge-cluster so that it can distribute the load between two origin-servers (A and B) within an origin-cluster.
My question is about the following flow: When a camera connects to the edge-cluster, will there be two connections maintained, such as camera -> edge-cluster and edge-cluster -> origin-server-A, or will the edge-cluster somehow make the camera connect directly to the selected origin-server?
Beta Was this translation helpful? Give feedback.
All reactions