[Tilesathome] WANTED: Tile viewing fastcgi written in C/C++
spaetz
osm at sspaeth.de
Wed Jul 23 08:03:59 BST 2008
Hi all, thanks for bearing with the recent outages on the t at h server, it was overloaded for several reasons (e.g. having OSMXAPI and t at h on the same server doesn't help as one is very busy when the other is). One of the big problems proved that the upload slots were taking up all apache slots quite quickly and many of the uploads took between 5-8 mintes. I don't know whether that is because people are running t at h from slow home ADSL connections with crappy upload times. Thanks go to Firefishy (Grant Slater) for helping debug the apache server.
I have now installed a lighthttp instance with 7 slots and all uploads will be redirected to using that. So from now on, uploads should not prevent us from doing tile serving. Let's see if this helps already.
Another issue - and that is where you can help - is that currently all tiles are served via mod_python. While this works fine and reasonably fast, it consumes quite a bit of memory. I'd appreciate if someone could sit down and would write a C-based (or whatever high performance, low overhead lingo you prefer) fastcgi that does tileserving. All the python code is in those 2 files:
http://svn.openstreetmap.org/sites/other/tilesAtHome_tahngo/tah_intern/serve_tiles.py
http://svn.openstreetmap.org/sites/other/tilesAtHome_tahngo/tah_intern/Tile.py
And I would be happy to give assistance to those needing it.
Thanks,
spaetz
More information about the Tilesathome
mailing list