[Tile-serving] [openstreetmap/mod_tile] Increase queue limits to reflect modern machines (PR #336)

Paul Norman notifications at github.com
Thu Sep 21 07:49:02 UTC 2023


When these limits were set in 2008 (a16d3b7) it would take a few minutes to clear through the dirty tile queue, giving it the ability to even out load over a few minute timescale, and let the work in the queue be done when the server is no longer busy. These days, a server can clear through 1000 metatiles in seconds, meaning the queue fills up nearly instantly and starts dropping tiles.

Increasing these limits by 8x attempts to restore some of the old utility of the queue.

By my estimates, in 2008 a server might have been doing 5 metatiles/second, while now it's 100 metatiles/second.

If we were starting over, I wouldn't consider the gains of having the queue worth the additional code complexity.
You can view, comment on, or merge this pull request online at:

  https://github.com/openstreetmap/mod_tile/pull/336

-- Commit Summary --

  * Increase queue limits to reflect modern machines

-- File Changes --

    M includes/render_config.h (4)

-- Patch Links --

https://github.com/openstreetmap/mod_tile/pull/336.patch
https://github.com/openstreetmap/mod_tile/pull/336.diff

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/mod_tile/pull/336
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/mod_tile/pull/336 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20230921/99f7c97e/attachment-0001.htm>


More information about the Tile-serving mailing list