2. About Me
● South African living in London
● Member of OSM sysadmin
team since 2007
● Hardware Monkey
● Operation Working Group
(planning, scaling)
● Day Job: Web Developer /
Sysadmin
3. OSM: Technical challenge
● >1,200,000 signed up users
● 3000 mappers a day
● 3.5 million unique visitors per month
(osm.org)
● 3.0 TB Postgresql Database
● High IOPs: Concurrent Read + Write
● tile.openstreetmap.org (rendered map)
– Live Map updates (Minute rendering)
– Average of 2700 tiles per second. (5400
tiles per second peak)
– Average: 175Mbits/s
(340Mbit/s peak)
4. Small Volunteer Team
● OSM Sysadmins
– Tom Hughes
– Grant Slater
– Matt Amos
● Local sysadmin
– Jon Burgess (Tile)
– Sarah Hoffmann (Nominatim)
● Operation Work Group (Planning):
– Andy Allan
– Emilie Laffray
– OSM sysadmins
5. Core Services
Primary
– OSM.org Website
– api.osm.org
Editing API
– planet.osm.org
Raw osm data exports: weekly, daily, minutely, streaming
10. OSM.org (www + api)
Database
Server
Web/Rails
Server
Web/Rails
Server
Web/Rails
Server
Rails
Server
+ cgimap
Rails
Server
+cgimap
Rails
Server
+cgimap
File
Server
● cgimap (api map call)
http://github.com/zerebubuth/openstreetmap-cgimap
11. OSM.org Database
● PostgreSQL 9.1
● Streaming Replication to 2 read servers
● 3.0TB of data
Primary DB Server
Slave DB Server Slave DB Server
12. Data Export
● Raw OSM XML Data
http://planet.osm.org/
– Streaming
– Minutely
– Daily
– Weekly – 370GB uncompressed
13. Tile Rendering
● 1 (+1) live rendering
servers
● PostGIS (osm2pgsql)
● mod_tile (rendering)
http://github.com/openstreetmap/mod_tile
● Map Stylesheet
Re-implement of the standard OpenStreetMap mapnik
style in CartoCSS
Andy Allan is presenting on Carto @ 12:15pmAndy Allan is presenting on Carto @ 12:15pm
http://github.com/gravitystorm/openstreetmap-carto
Preview: http://orm.osm.org/
18. Chef + Git
● OpenStreetMap Chef Cookbook Public Repo
http://git.osm.org/chef.git
● All updates reported in #osm-dev (OFTC)
http://irc.osm.org/
● DNS in git (with commit updating)
http://git.osm.org/dns.git
20. Future plans
● API in JSON
● Routing (osm.org + debugging)
● Additional Read + Write Partitioning of
Database
● Additional Tile caching in Americas + Asia
● Scaling with growth curve
– > 3% month on month
– > 40% year on year