Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

8. Select demo.flashphoner.com server. The page displays a list of media sessions in which the published stream is played. Current server load information is displayed at top right corner.

CDN Edge server load testing

CDN Edge server load testing is performed by the following scenario:

  1. Streams are published on Origin server.
  2. Testing server makes a specified number of Websocket connections (100 for example) to Edge server, as a standalone browser client.
  3. Testing server pulls a specified number of copies of all the streams available to Edge server, as a viewer.

Quick manual on Edge server testing

1. For test we use:

  • two WCS servers for CDN deployment: test1.flashphoner.com и test2.flashphoner.com;
  • WCS server to perform the test demo.flashphoner.com
  • Two Way Streaming web application to publish stream on Origin server;
  • Console web application to perform the test;
  • Chrome browser with Allow-Control-Allow-Origin extension to run Cosole web application.

2. Deploy CDN with the following server roles:

  • test1 - Origin
  • test2 - Edge

3. Open Console application over HTTP (not HTTPS!) http://demo.flashphoner.com:9091/client2/examples/demo/streaming/console/console.html

Image Added

4. Allow Cross-Origin-Resource-Sharing

Image Added

5. Enter Edge server name test2.flashphoner.com, press 'Add node'. This server will be tested. Add demo.flashphoner.com server similarly, this server will be a subscriber which pulls streams.

Image Added

6. Open Two Way Streaming application, publish stream from web camera

Image Added

7. Selet demo.flashphoner.com server in Console application, press 'Stress play stream', set the following test parameters:

  • Choose node - select server for testing test2.flashphoner.com
  • Choose test mode - select Random
  • CDN - set the checkbox
  • Max streams - set the number of viewers (100 for example)

Image Added

7. Press 'Start'. The test begins.

Tuning recommendations

If the load test was failed, it is recommended to change the following setver settings.

...