Categories: Uncategorized

Load Testing the WebRTC Video Streaming Server

No, it’s not the latest B-rated horror film (although it should be). Rather it’s the name of the Chicago Tribune’s load testing program. This tool leverages AWS to spin up EC2 instances to bombard an application, similar to a denial of service (DOS) attack.

Bees With Machine Guns was originally created to test the Tribune’s website. That means it was designed for HTTP, so after we forked it, we had to modify the source code to support our specific live streaming video protocols:

Basic Functionality

Each Bee program runs an “attack” on a server. It does this by creating clients that subscribe to a video stream coming from that server. One Bee can have a number (N) of Bullets (or stingers, if you will) that are fired concurrently.

By creating these virtual clients, the Bees stress the targeted application server in order to get a better idea of how many concurrent connections the system architecture can support at the same time.

Open Source

All our Bee programs are available on our publically accessible GitHub page. They are Open Source and free to use. So feel free to use the links above and take a look at them for yourself. We hope the Bees will be as useful to you as they are to us.

Benchmarks

Test Conditions

Tests were run against an AWS c5.large instance (2 CPUs with 4GB memory, 2GB allocated to java_heap). We used our RTMP Bee, RTSP Bee, and RTC Bee clients to do load testing.

Publishing a 256kbps stream via RTMP, we were able to achieve the following while still maintaining the quality of stream:

WebRTC
  • 500 Subscribers
RTSP (Mobile)
  • 2,000 Subscribers
RTMP
  • 1,200 Subscribers
    The same server type can support approximately 75-80 480p RTMP publishers.

That’s Not All

Despite this positive performance, we’ve never been known to rest on our laurels. So we are not stopping there and are continuing to optimize Red5 Pro.

In the meantime, feel free to try it out yourself.

Lastly, let it be known that if anyone makes Rambo reboot with a bee in the leading role (Rambo: Sting of Fury), we’re claiming production rights.

Red5 Team

Share
Published by
Red5 Team

Recent Posts

Red5 on OCI vs AWS IVS: Why Oracle Cloud Infrastructure is an Excellent Choice for Live Streaming

As organizations evaluate live streaming solutions, Amazon Interactive Video Service (IVS) has emerged as a…

6 days ago

What’s New in Red5 Cloud v1.9.2? Valuable UI/UX Improvements and Bug Fixes

Let’s go over the latest updates introduced in Red5 Cloud since our previous blog covering…

6 days ago

Real-Time Streaming Solutions for 2025: Red5 vs. Phenix vs. Dolby Optiview

When businesses need ultra-low latency streaming capabilities, the choice of platform can significantly influence the…

2 weeks ago

AWS IVS vs Red5: Choosing the Right Live Streaming Solution for Your Business

1Understanding AWS IVS: Strengths and Limitations2Red5: A More Flexible Alternative3When to Choose Red5 Over AWS…

4 weeks ago

What’s New in Red5 Pro v14.2.1 and Red5 Cloud v1.9.1?

Let’s take a look at the latest Red5 Pro and Red5 Cloud releases introduced since…

1 month ago

AV1 vs VP9 vs. VP8: Complete Codec Evolution and Comparison for Live Streaming

1Quick Comparison Overview2The Complete Evolution: VP8 → VP9 → AV13Technical Comparison: VP8 vs VP9 vs…

1 month ago