Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Load testing has been attempted using the package from K6.io. Output has been written to an InfluxDB database, and visualizations have been configured using Graphana.

Dev

Testing has been performed on the DEV instance, consisting of an Azure VM for each of the Web and Portal, GIS Server, and Data Store roles.

Portal

Portal has been tested on the Dev by creating an increasing number of virtual users and logging the response time from subsequent requests to the portal home page, portal CSS, and a hosted image.

http://egis-loadtest.canadaeast.cloudapp.azure.com:3000/d/1-JJY8cWz/load-test?orgId=1&from=1568645278198&to=1568645322670

This test was performed from a developer laptop on the TC network. We can see that average response time (green), remains under 2.5 seconds with a load of just over 200 simultaneous users. When another block of virtual users are added, the portal begins to fail

  • Check if portal did fail or if the networking on my laptop was saturated.

When running a similar test from an Azure virtual machine, we see the following results:

http://egis-loadtest.canadaeast.cloudapp.azure.com:3000/d/1-JJY8cWz/load-test?orgId=1&from=1568656908296&to=1568656971010

This takes a lot, but not all, of the network considerations our of the equation (Azure Canada East calling Canada Central). We see that our Dev portal can handle over 100 users nicely, and over 200 users reasonably well.

Server

Similar tests were devised to stress the server by querying a feature service, fetching a feature, and exporting a web map. The following tests were performed on the azure load testing VM and called the Dev instance.

http://egis-loadtest.canadaeast.cloudapp.azure.com:3000/d/1-JJY8cWz/load-test?orgId=1&from=1568653289948&to=1568653330206

These graphs show that the server performance starts off slow and gets worse. We’ll need to improve these numbers.

Azure Monitor

Azure monitor showed that the CPU on the GIS machine could handle the load it was burdened with. Over the afternoon of testing, the CPU never crossed 80% usage.

Similarly, the DS machine had no CPU limitations:

  • No labels