Tirex (pronounced T-Rex) is a suite of programs for running a tile server, it was developed for OpenStreetMap tile servers but can be used for other maps, too. Tirex is mostly written in Perl, it is Open Source and available from the OpenStreetMap SVN.
Tirex performs roughly the same tasks as the well-known renderd, but is much more flexible.
- Splits queue management and tile rendering into different modules
- Supports several tile rendering backends
- Flexible priority queue that can handle thousands of jobs
- Configurable parallel rendering that make sure your machine doesn't overload and high priority jobs are rendered quickly
- Nifty status console that lets you see statistics and what your queues and renderers are doing
- Powerful batch rendering command (tirex-batch) thats allows you to request rendering of tiles on defined zoom levels and bboxes and much more
- Rendering backend manager that re-starts failed rendering backends
- Tile rendering and caching in metatiles compatible to mod_tile/renderd system
- No multi-threading which is notoriously difficult to debug
- Uses multi-processing to use all the CPUs in your machine
- Extensive documentation on the OSM wiki and many man pages
- Most of the system implemented in Perl for flexibility
- Lots of config options and many little utility scripts to encourage experimentation
- Lots of unit tests for the Perl library to give you some confidence that it actually works
- Easy to install because there are several Debian/Ubuntu packages for all parts of the system
- Building and Installing
- Quick Start
- Backends (rendering backends)
- Utils (utility tools)
- Tile Update Strategies
- Munin (how to monitor a Tirex system with Munin)
- Nagios (how to monitor a Tirex system with Nagios)
- Renderd (comparison with and notes for people switching from renderd)
- Internals (about the metatile file format)
- Development (how to contribute and how to report bugs)
- Multihost (Tirex on more than one host)
- Tileserver (A nodeJS tileserver for Tirex)
There are also man pages for all commands.
mod_tile and backwards compatibility
Tirex offers no replacement for mod_tile yet but it is planned to have one in the future. At the moment you can simply use the existing mod_tile, unchanged, with Tirex. Tirex uses the same meta tiles and the same directory structure, making it easy to switch from renderd to Tirex. More...