In this repo present different Bees With Machine Guns for load testing Red5 Pro server and Stream Manager.
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.
Load tests with Bees use a lot of resources, better to use AWS large instances, such as: c5.9xlarge
or c5.18xlarge
. Even on these large instances, you can only expect to get about 200 bee connections (less for higher bitrate streams).
For start RTMP, RTSP, RTC Subscribe Bees need to publish the stream to Red5pro server with name stream1
.