Skip to content

Latest commit

 

History

History

load-testing

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

Load Testing Example

Peers using this application will auto-connect to other peers! Use this example to load-test your server.

  1. Open a single tab and manually approve the getUserMedia request:

"approve get user media in the browser"

  1. Open another browser tab and it will each automatically send a camera feed. Both tabs will auto-connect to one another:

"two tabs with shared video"

  1. Open many tabs!

"six tabs connected to each other"

  1. Monitor your server's CPU usage with the htop utility which is installed on many Linux systems:

"terminal window showing CPU usage"

Note that to accurately test load on the server (rather than a single client), you will have to spread the load across multiple devices. Otherwise, you will likely be limited by limitations on the client-side.