Capabilities of WebcallServer

Hi,

We need the following of the regarding flashphoner server

1. Hardware Requirements(Min and Max)

2. Maximum how many cameras can handle by single server and for that what is the configuration of system needed

3. If there are more than 1000+ cameras how many servers may needed . and latency if more cameras streaming at a time ..

Please suggest more details based on our queries

Thank you.
 

Max

Administrator
Staff member
Good day
1. Hardware Requirements(Min and Max)
A minimal hardware requirements are described here. A maximal requirements depend on use case and may be detected in load tests.
2. Maximum how many cameras can handle by single server and for that what is the configuration of system needed

3. If there are more than 1000+ cameras how many servers may needed . and latency if more cameras streaming at a time ..
Please read this article How many RTSP cams can I connect to the WebRTC server?
 

Max

Administrator
Staff member
As mentioned in the above link we are using two WCS servers for load testing ...but in case of one server how we can calculate the performance ..
In the article we used one WCS server as RTSP source. So if you have an NVR or another RTSP server which can provide 1000 RTSP streams, you can perform the test on a single WCS instance.
There is no ready to use formula to calculate, so only load test allows to check capabilities. For example, in our test the following hardware (not VPS) server was enough to handle 1000 RTSP streams:
  • CPU: 12 cores, 24 HT threads;
  • 96 Gb RAM (24 Gb Java heap);
  • 10 Gbps
And We currently using only one server for publish and stream ...how do we handle two WCS servers one for publish and another to use it Dynamically
You can deploy a hardware server for testing in Equinix Metal for example.
Our tests shows that the following server configuration is enough to play one stream by 1000 subscribers:
  • 2x Intel(R) Xeon(R) Silver 4214 CPU @ 2.20GHz ( 24 cores, 48 HT threads);
  • 192GB RAM;
  • 2x 10 Gbps
So if you need to capture RTSP streams and play them on single WCS server, consider the second configuration as reference.
 

Max

Administrator
Staff member
Is it internet speed ? what if we are using Intranet?
In this case, 10 Gbps is server network interface bandwidth.
Real networl bandwidth requirements depend on simultaneous streams count, stream resolution and bitrate. for example, if you are capturing 1000 RTSP streams 720p 2 Mbps each, it requires 2,5 Gbps (2 * 1000 + margin). Then, if you are playing every stream by one subscriber, it requires another 2,5 Gbps, summary 5 Gbps. More streams, more subscribers, more bandwidth.
 

krisheath

New Member
This was a useful article. The server specifications for WCS#1 and #2 both say "streams" after their core count. Is this in reference to the number of video streams or does this really refer to number of processing threads available given the CPU core counts?

With the above question in mind, its not clear whether the test (only) included a single input stream being shared multiple times or whether multiple streams were being shared multiple times. In our intended application, the latter is true and of interest.

Do you have any calculator tool that would allow the input of number of streams to be processed, their quality/bitrate etc and then it produce a suggested specification for the WCS needed? This would be VERY useful.
 

Max

Administrator
Staff member
Is this in reference to the number of video streams or does this really refer to number of processing threads available given the CPU core counts?
This is a mistype of course. All the server specifications means CPU threads (with HyperThreading enabled).
With the above question in mind, its not clear whether the test (only) included a single input stream being shared multiple times or whether multiple streams were being shared multiple times. In our intended application, the latter is true and of interest.
This article shows only streams capturing test. There is an article about multiple subscribers testing (up to 1000 subscribers per 1 stream): What kind of server do you need to run a thousand WebRTC streams?
Do you have any calculator tool that would allow the input of number of streams to be processed, their quality/bitrate etc and then it produce a suggested specification for the WCS needed? This would be VERY useful.
Unfortunately, no. There is no clear mathematical dependency between those parameters, so there is no formula to be calculated. Only load tests may answer to the question.
 
Top