Skip to main content

3. Load-Testing

This show how to do load-testing about https://github.com/pion/ion-sfu

1. Prepare

  • Two High performance server(cpu not shared)
    • Server A
    • Server B

2. Build and run ion-sfu

  • SSH login A
  • Build and run ion-sfu(allrpc version)

3. Build and run ion-load-tool

4. record cpu/mem usage and clients/bandwidths

  • using dstat to see cpu/mem usage
  • use ion-load-tool to see clients/bandwidths
./ion-load-tool .... | grep -E 'Clients|Band'

5. Join and see videos with pubsub example(optional)

Tips:Make sure your pubsub index.html join the same session with ion-load-tool!