/

Release 9.0.0 Server Performance Metrics


Multiple tests were run against an AWS c5.large instance (2 CPUs with 4GB memory, 2GB allocated to java_heap) running on Ubuntu 20.04 . We used our RTC, RTSP and RTMP Bee clients to do load testing. The following are the average max connection counts, when CPU is observed to be over 75%. Note - connections are added over the course of several minutes in these tests. If connections are added all at once, they will cause a CPU spike which can crash the server.

SUBSCRIBER TESTS

Publishing a 240p (426x240, 200 kbps, 15fps) stream via RTMP, we were able to achieve the following while still maintaining quality of stream:

  • 320 WebRTC subscribers, or
  • 1,600 RTSP subscribers, or
  • 1,000 RTMP subscribers

Publishing a 480p (854x480, 500kbps, 24fps) stream via RTMP, we were able to achieve the following while still maintaining quality of stream:

  • 250 WebRTC subscribers, or
  • 1,300 RTSP subscribers, or
  • 900 RTMP subscribers

Publishing a 720p (1280x720 1,500kbps, 30fps) stream via RTMP, we were able to achieve the following while still maintaining quality of stream:

  • 200 WebRTC subscribers, or
  • 1,100 RTSP subscribers, or
  • 700 RTMP subscribers

Publishing a 1080p (1920x1080 4,500kbps, 30fps) stream via RTMP, we were able to achieve the following while still maintaining quality of stream:

  • 120 WebRTC subscribers, or
  • 900 RTSP subscribers, or
  • 400 RTMP subscribers

PUBLISHER TESTS

The same server type (2 CPUs with 4GB memory, 2GB allocated to java_heap) and OS (Ubuntu 20.04) can support approximately (tested using the RTCBee Publisher test, RTMP Bee Publisher test and RTSP Bee Publisher test):

Publishing 240p

  • 30 240p WebRTC publishers, or
  • 60 240p RTSP publishers, or
  • 70 240p RTMP publishers

Publishing 480p

  • 25 480p WebRTC publishers, or
  • 50 480p RTSP publishers, or
  • 60 480p RTMP publishers

Publishing 720p

  • 20 720p WebRTC publishers, or
  • 40 720p RTSP publishers, or
  • 55 720p RTMP publishers

Publishing 1080p

  • 20 1080p WebRTC publishers, or
  • 30 1080p RTSP publishers, or
  • 40 1080p RTMP publishers