A way to configure the number in flight requests for tiles
varun7654 opened this issue ยท 3 comments
Feature Description:
I'd like a way to easily configure the 4 to a higher value.
Additional context:
As far as I can tell, increasing this value allows more requests to be in flight when loading tiles. On my server increasing this to 100
has resulted in much more responsive tile loading. This should disproportionality benefit users with higher ping as they'll no longer have to wait for all adjacent tiles to be loaded before requesting more.
You can already adjust this by editing the respective file on your actual server; I'd just like an easier way to do this for others. You can also test this by editing the js in the browser itself :)
Hey @varun7654! Great suggestion! Increasing the number of in-flight requests for tiles can definitely enhance the user experience, especially for those with higher ping times.
Here are a couple of ideas to implement this feature more smoothly:
Configuration File: It might be useful to have a dedicated configuration file where server administrators can easily adjust the in-flight request limit without digging into the source code. This could help make it more user-friendly!
UI Option: If possible, adding an option in the server admin interface to adjust this value dynamically could provide even more flexibility for users.
Documentation Update: It would also be helpful to update the documentation to highlight this feature once implemented, so users know how to adjust it for optimal performance.
Thanks for bringing this up! Looking forward to seeing how this can improve tile loading for everyone! ๐
Higher ping often also means the modem/router can't handle a whole many simultaneous requests/connections, much less many requests in a quick succession, assuming the service even is good enough to.
I don't think that's really a fair assumption to make unless you're running your instance in the same one you're accessing it from.
On my instance tiles take about ~200 ms to load which would limit it to loading only about 20 tiles a second which feels extremely sluggish.
Changing this value on my server has improved the performance dramatically and really is a night and day difference.