Load testing on PMTiles
See original GitHub issueHi, thanks for the awesome project!
I’m trying to use pmtiles as basemap in my map project, and I would like to do some load testing on it. Normally I use siege for this kind of testing and I’ll feed URLs with randomised zoom level and x, y values.
I wonder if I could do something similar for pmtiles? If so, how would the URL look like in this case?
FYI, I’m using MaplibreGL and I inserted PMTiles in my code like this:
"tiles": ["pmtiles://sample.pmtiles/{z}/{x}/{y}"]
So I’m not sure what would be a URL in this case.
Thank you.
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
PMTiles - Protomaps
PMTiles is a general format for tiled data addressed by Z/X/Y coordinates. This can be cartographic basemap vector tiles, remote sensing observations, JPEG ......
Read more >protomaps/PMTiles - GitHub
PMTiles Inspector - inspect and preview PMTiles local or remote PMTiles archives. Archives on cloud storage may require CORS for the origin https://protomaps....
Read more >Load Testing a TMS Tile Server with k6.io - Azavea
A tutorial on load testing a TMS tile server with k6.io, which results in clear and more accurate group statistics.
Read more >An open, cloud-optimized archive format for serverless map data
Introducing a new archive format called PMTiles, based on HTTP Range requests, for serving Z/X/Y tiles from storage APIs such as S3. PMTiles...
Read more >leaflet tiles with protomaps pmtiles are not visibles (seems to ...
i'm using our own pmtiles tileset server, the test url is : https://tilesets.urbanease.io/cadastre/64/64102/without_protobuf.pmtiles the ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I have a little tile testing utility for siege at https://github.com/bdon/TileSiege , but it won’t work this way with PMTiles; you would need to modify the
Range:
headers of the requests, and those request headers need to be based on the directory.So you’ll need a more advanced load testing library more likely, and it would simplify your tests to do random ~100KB requests instead of needing to base them off a directory.
I’m not aware of any, maybe try something like JMeter for video. In any case, this is beyond the scope of PMTiles 😃