lecture: Stress Testing and Analysing MapServer Performance
After 5 years in production the open source based Pavement Management System for Ireland has amassed over 15 years of road-related data. The back-end mapping engine is powered by MapServer and we are looking to improve performance when dealing with more and more data.
The talk will focus on how to set up Locust, an open source Python load testing tool, to automatically get average load times for each WMS and WFS layer from MapServer, and how many users MapServer can handle concurrently. A small open source project is currently being written to help this process. Whilst MapServer is the focus of the talk, any OGC-compliant server can be tested in the same way.
The talk will then briefly run through a series of experiments to see how changing various components affects performance. These are:
- Running MapServer on Linux as compared to Windows
- Using the MapServer native SQL Server driver, and using the OGR driver
- Map file size