Streams handling

tharun_n

New Member
We bought WCS AMI from aws of type t3.medium , we are using for Ip camera streaming.How many cameras we can handle with one WCS server.
 

Max

Administrator
Staff member
Hello

Take a look at this

It is a load test for
1 CPU, 12 cores, 24 threads; 96 Gb RAM;

Result: 1000 RTSP streams

You have to carry out your own load tests to see the capacity of your instance. Please be noted that traffic is also paid per GB depending on your Amazon pricing.

12 hardware cores are 24 threads (hyperthreading). Therefore we can assume that we have 24 VCPUs comparing with Amazon EC2 instance.

Instance t3.medium has 2 VCPUs. We assume, it is less than 1 CPU core of 12. So awaiting capacity can be 1000/12 = 83 streams.

We just assume because we do not know how exactly AWS EC2 binds Virtual CPU to hardware cores. If binding is 4/1 then capacity can be around of 40 streams.
 

Vadimmiras

New Member
So you should consider the instance bandwidth, for t3.medium is 0.25 Gbit/s and on burst (first 3 minutes per hour) 4.98 Gbit/s
 

Max

Administrator
Staff member
So you should consider the instance bandwidth, for t3.medium is 0.25 Gbit/s and on burst (first 3 minutes per hour) 4.98 Gbit/s
Thanks for clarification
@tharun_n so you have maximum 225 Mbps bandwidth (with 10% reserved) for configuration you use. The bandwidth is enough for 200 streams of 1 Mbps each, or 100 incoming RTSP streams and 100 outgoing WebRTC streams (one per each subscriber). This is more than a maximum awaiting capacity by CPU (but not much more).
Please consider this while load testing. May be you have to choose a more powerful configuration with more bandwidth.
 
Top