SlideShare uma empresa Scribd logo
1 de 22
Baixar para ler offline
OSM Core Architecture and DevOps
Grant Slater
@firefishy1
sotm.us - 8 June 2013
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
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)
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
Core Services
Primary
– OSM.org Website
– api.osm.org
Editing API
– planet.osm.org
Raw osm data exports: weekly, daily, minutely, streaming
Core Services
Secondary
Core
– tile.osm.org
– nominatim.osm.org (osm map search)
– wiki.osm.org
Services
Tertiary
●
Run by us
– help.osm.org (Q&A "stackoverflow")
– blog.osm.org
– wiki.osmfoundation.org
– otrs.osm.org (support tickets)
– piwik.osm.org (site visitor analytics)
– munin.osm.org (monitoring)
– lists.osm.org
– svn.osm.org
– git.osm.org
– trac.osm.org
– irc.osm.org
– dev.osm.org (aka toolserver)
– switch2osm.org
– imagery
● Run by others
– taginfo.osm.org
– forum.osm.org
– ci.osm.org (Continuous Integration)
Servers! FTW
●
Here be Dragons
bunyip draco errol eustace faffy fume
gorynych grisu horntail idris jakelong
katla konqi lurien nepomuk norbert orm
ouroboros poldi ramoth ridgeback ridley
sarel shenron smaug spike-01 spike-02
spike-03 tabaluga thorn-01 thorn-02
thorn-03 trogdor urmel yevaud zark
Total: 36
●
Standardizing hardware (in progress)
– HP Proliant
– Supermicro Superserver
OSM.org (www)
Database
Server
Web/Rails
Server
Web/Rails
Server
Web/Rails
Server
File
Server
● Ruby on Rails
http://github.com/openstreetmap/openstreetmap-website
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
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
Data Export
● Raw OSM XML Data
http://planet.osm.org/
– Streaming
– Minutely
– Daily
– Weekly – 370GB uncompressed
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/
Tile CDN
Source: http://dns.openstreetmap.org/tile.openstreetmap.org.html
+ http://git.osm.org/dns.git/blob/HEAD:/src/tile.openstreetmap
Nominatim (Search)
http://wiki.osm.org/Nominatim
DevOps
"Infrastructure as Code"
● Small team
● Many services, often
repeated
Chef + Git = Win
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
Monitoring
● Proactive
– http://munin.osm.org with alerts to sysadmin team
● Long term planning. Growth.
● Reactive
– Pingdom (sms + email alerts)
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
Hardware Funding Donation Drive
http://donate.osm.org
74% funding reached
Questions?

Mais conteúdo relacionado

Destaque (11)

Onúmerode ouro
Onúmerode ouroOnúmerode ouro
Onúmerode ouro
 
Transition
TransitionTransition
Transition
 
City of Light - PARIS
City of Light - PARISCity of Light - PARIS
City of Light - PARIS
 
Our School Can Change Education
Our School Can Change EducationOur School Can Change Education
Our School Can Change Education
 
Festa junina 2013
Festa junina 2013Festa junina 2013
Festa junina 2013
 
Yourprezi
YourpreziYourprezi
Yourprezi
 
To the future
To the futureTo the future
To the future
 
Ver sevilla sl
Ver sevilla slVer sevilla sl
Ver sevilla sl
 
Logik 1
Logik 1Logik 1
Logik 1
 
Thema 1
Thema 1Thema 1
Thema 1
 
Festa junina 2013
Festa junina 2013Festa junina 2013
Festa junina 2013
 

Último

Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherRemote DBA Services
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdflior mazor
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Enterprise Knowledge
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?Antenna Manufacturer Coco
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
Evaluating the top large language models.pdf
Evaluating the top large language models.pdfEvaluating the top large language models.pdf
Evaluating the top large language models.pdfChristopherTHyatt
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)wesley chun
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024The Digital Insurer
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProduct Anonymous
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoffsammart93
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 

Último (20)

Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Evaluating the top large language models.pdf
Evaluating the top large language models.pdfEvaluating the top large language models.pdf
Evaluating the top large language models.pdf
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 

OpenStreetMap Core Architecture and DevOps

  • 1. OSM Core Architecture and DevOps Grant Slater @firefishy1 sotm.us - 8 June 2013
  • 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
  • 6. Core Services Secondary Core – tile.osm.org – nominatim.osm.org (osm map search) – wiki.osm.org
  • 7. Services Tertiary ● Run by us – help.osm.org (Q&A "stackoverflow") – blog.osm.org – wiki.osmfoundation.org – otrs.osm.org (support tickets) – piwik.osm.org (site visitor analytics) – munin.osm.org (monitoring) – lists.osm.org – svn.osm.org – git.osm.org – trac.osm.org – irc.osm.org – dev.osm.org (aka toolserver) – switch2osm.org – imagery ● Run by others – taginfo.osm.org – forum.osm.org – ci.osm.org (Continuous Integration)
  • 8. Servers! FTW ● Here be Dragons bunyip draco errol eustace faffy fume gorynych grisu horntail idris jakelong katla konqi lurien nepomuk norbert orm ouroboros poldi ramoth ridgeback ridley sarel shenron smaug spike-01 spike-02 spike-03 tabaluga thorn-01 thorn-02 thorn-03 trogdor urmel yevaud zark Total: 36 ● Standardizing hardware (in progress) – HP Proliant – Supermicro Superserver
  • 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/
  • 14. Tile CDN Source: http://dns.openstreetmap.org/tile.openstreetmap.org.html + http://git.osm.org/dns.git/blob/HEAD:/src/tile.openstreetmap
  • 16. DevOps "Infrastructure as Code" ● Small team ● Many services, often repeated
  • 17. Chef + Git = Win
  • 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
  • 19. Monitoring ● Proactive – http://munin.osm.org with alerts to sysadmin team ● Long term planning. Growth. ● Reactive – Pingdom (sms + email alerts)
  • 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
  • 21. Hardware Funding Donation Drive http://donate.osm.org 74% funding reached