Red5 Documentation

Release 8.0.0 Server Performance Metrics

Tests were run against an AWS c5.large instance (2 CPUs with 4GB memory, 2GB allocated to java_heap) running Ubuntu 18.04. We used our RTC, RTSP and RTMP Bee clients to do load testing. 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 (426×240, 200 kbps) 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 (854×480, 500kbps) stream via RTMP, we were able to achieve the following while still maintaining quality of stream:

  • 245 WebRTC subscribers, or
  • 1,300 RTSP subscribers*, or
  • 900 RTMP subscribers

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

  • 200 WebRTC subscribers, or
  • 1000 RTSP subscribers, or
  • 700 RTMP subscribers

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

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

PUBLISHER TESTS

The same server type (2 CPUs with 4GB memory, 2GB allocated to java_heap) and OS (Ubuntu 18.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
  • 50 240p RTSP publishers, or
  • 65 240p RTMP publishers

Publishing 480p

  • 25 480p WebRTC publishers, or
  • 45 480p RTSP publishers, or
  • 55 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

* NOTE: RTSP 240p and 480p subscriber tests run against Ubuntu 16.04 because of known issues with Ubuntu 18.04 and connection numbers over 1,400. All other tests peformed on Ubuntu 18.04.