GIScience / GIScience/sketch-map-tool
Failure to generate lots of sketch maps at once
- Dominant language
- Python
- Stars
- 54
- Forks
- 9
- PR merge metrics
- No merged PRs in 30d
Description
The bottleneck is the web map proxy, which generates the map image for sketch maps. It can take a long time, and it is easy to run into timeout error (after 10 minutes). Due to caching, running the same request again will likely lead to successful map creation.
On the webpage, it's said that it takes 2-10 minutes.
> I’m currently using Sketch Map Tool to generate a large number of maps.
During testing, I’ve noticed that sending many requests in parallel (100+) can lead to performance degradation or server unresponsiveness — potentially affecting others using the service as well. It looks like there’s no rate limiting or queuing in place to manage load. Just flagging this as a potential issue you might want to monitor on the production environment.
One solution is to add rate limit to the sketch map tool. The other is to make the web map server more performant by not live generating images. Instead use cached ones.
Contributor guide
Assessment
This issue has not been assessed yet.