Logotipo do OpenStreetMap OpenStreetMap

The world smallest mapserver?

Publicado por SunCobalt o 25 de Xuño de 2012 en German (Deutsch).

Just this weekend my ordered mini computer arrived after waiting two months. Basically, it is a single core ARMv7 processor with 800Mhz, 1GB RAM, 1000baseT Ethernet and a MicroSD instead of a harddisk (plus some other features). Its size is 55x55x42mm and weights 91g. The power consumtion is around 3W and less than 1W at standby. I am runing it unter Ubuntu.

Alt text

First I was struggeling a while with the software because there are not so many packages avaible for ARM as I am used to have with a straight forward x86 computer. I wanted to give Mapnik a try but without success. I ended with PostgreSQL 8.4 + PostGIS and an old version of Mapserver 5.6.x - thanks to precompiled bins at launchpad. Luckily I had some older rendering rules for this mapserver version here (thanks to the mapserver-utils project). So some hours later I made it….loaded a 30MB *.osm.bz2 file (300MB database size) into PostgreSQL and got it rendered.

Alt text

What I have learnt is that unlike my “normal” rendering computer, where IO is the bottleneck, here it is the slow single core CPU. Personally I am a bit surprised how good it works. Okay, slow but faster much faster than I have expected….somehow like an internet connection from the old days.

Alt text

Icona de correo electrónico Icona de Bluesky Icona de Facebook Icona de LinkedIn Icona de Mastodon Icona de Telegram Icona de X

Parola

Comentario de Zverik no 26 de Xuño de 2012 ás 06:18

Maybe lighttpd would be a bit faster than apache? I use it on my wi-fi router.

Comentario de Jean-Marc Liotier no 29 de Xuño de 2012 ás 14:34

Does your username have anything to do with your server’s physical shape being a cube ?

Inicia sesión para deixar un comentario