Performance of media soup on concurrency

I have 4 core MacBook Pro and when I create media soup workers using cpu count it create 8 workers . My question is that if a worker can handle approximate 400-500 consumers so for 8 workers will it handle (400-500) x 8 consumers ?

The concurrency performance depends on a number of factors including:

  1. the number of consumers attached to each worker
  2. the total video bitrate consumed
  3. the cpu model and the compiling flags used

In general, this dependency is not strictly proportional, so you need to test your configuration using some automation (or using real users) tracking the cpu and memory usage, the output bitrate and RTT, etc.

More infos here: Experience with Mediasoup

1 Like