SlideShare una empresa de Scribd logo
1 de 22
Descargar para leer sin conexión
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?

Más contenido relacionado

Destacado (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

The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
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
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure servicePooja Nehwal
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
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
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
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
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilV3cube
 
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
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 

Último (20)

The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
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
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
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...
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of Brazil
 
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...
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 

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