Rendering tiles during server idle I haven't found any related question so far, so I am now going to ask in this QA. I have a tile server configured using mapnik / renderd / mod_tile / apache and postgresql and most of the time the machine remains idle. But when a user requests a not cached tile or more likely a bunch of new tiles it takes the machine a couple of seconds to render them. As I intend to not update my osm database that often, I think it would be a performance gain if the server spawns a process that renders and caches some tiles during the idle time. As I don't need to update my database that often and I just have a single country in my database, the cachesize would certainly stay in a small gigabyte range. Does any of the programs I use (e.g. mod_tile) provide such a function or is there any other way the idle rendering task could be done? asked 15 Jun '15, 13:19 ltsstar |
If you were to change from answered 17 Jun '15, 17:05 rorym |
I couldn't find renderd instructions on the wiki, but the alternative tirex backend performs the same task of handling rendering jobs queues. In principle, all you need to do is start a batch-rendering of the tiles you want, using a low priority so that it doesn't interfere with live browser requests. See also update strategies. answered 15 Jun '15, 17:47 Vincent de P... ♦ SomeoneElse ♦ |