TileServer Stresstest

From OpenStreetMap Wiki
Jump to navigation Jump to search

OpenStreetMap TileServer Stresstest (github.com/jawg/osm-tile-server-stress)

When you deploy a new TileServer, it is essential to qualify its robustness. How many users it can hold, on one or multiple regions.

Using the most powerful stresstool out there (Gatling), we deployed a simple yet efficient stress scenario. The Testing scenario is the following:

  • Each user will randomly select a region in the regions.csv file (round-robin strategy)
  • In this region, the user will randomly choose a position (lat/lng)
  • Then, the user will successively zoom in (level by level) to this position and request 8x6 surrounding tiles.

Development

The project is open source (Apache 2.0) and code is located on GitHub.

External links