SlideShare a Scribd company logo
SCALING
UBERMATT RANNEY
As of January 2016:
Uber Cities Worldwide: 361
Countries: 67
Employees: 5,400
Engineers: 1,700
US Driver Payments Jan-Oct 2015: $3.5B
Microservices Practitioner Summit Jan '15 - Scaling Uber from 1 to 100s of Services - Matt Ranney, Uber
Microservices Practitioner Summit Jan '15 - Scaling Uber from 1 to 100s of Services - Matt Ranney, Uber
UBER ENGINEERING
HISTORY
2009-2010 Outsourced PHP + MySQL
Jan 2011 "dispatch" - Node.JS/MongoDB
Jan 2011 “API” - Python/SQLAlchemy/MySQL
Feb 2012 Dispatch swaps MongoDB for Redis
May 2012 Dispatch adds ON fallback
Jan 2013 First non-API Python services
Feb 2013 API switched to Postgres
Mar 2014 New Python services use MySQL
Mar 2014 Schemaless begins, must finish before pg collapse
Sep 2014 First Schemaless - trips out of Postgres
Aug 2015 Dispatch X.0 / Ringpop / Riak
Jan 2016 Go, Java, Cloud, More Abstractions
TECHNICALDEBT
Microservices Practitioner Summit Jan '15 - Scaling Uber from 1 to 100s of Services - Matt Ranney, Uber
Microservices Practitioner Summit Jan '15 - Scaling Uber from 1 to 100s of Services - Matt Ranney, Uber
Microservices Practitioner Summit Jan '15 - Scaling Uber from 1 to 100s of Services - Matt Ranney, Uber
Credit: NASA, ESA, and R. Thompson (Univ. Arizona)
Credit: NASA, ESA, and Z. Levay (STScI/AURA)
MICROSERVICES
Immutable?
Append Only?
Node.JS
Python
Go
Java
SCALING NODE
Microservices Practitioner Summit Jan '15 - Scaling Uber from 1 to 100s of Services - Matt Ranney, Uber
Microservices Practitioner Summit Jan '15 - Scaling Uber from 1 to 100s of Services - Matt Ranney, Uber
Microservices Practitioner Summit Jan '15 - Scaling Uber from 1 to 100s of Services - Matt Ranney, Uber
Microservices Practitioner Summit Jan '15 - Scaling Uber from 1 to 100s of Services - Matt Ranney, Uber
Microservices Practitioner Summit Jan '15 - Scaling Uber from 1 to 100s of Services - Matt Ranney, Uber
Microservices Practitioner Summit Jan '15 - Scaling Uber from 1 to 100s of Services - Matt Ranney, Uber
Microservices Practitioner Summit Jan '15 - Scaling Uber from 1 to 100s of Services - Matt Ranney, Uber
Microservices Practitioner Summit Jan '15 - Scaling Uber from 1 to 100s of Services - Matt Ranney, Uber
Microservices Practitioner Summit Jan '15 - Scaling Uber from 1 to 100s of Services - Matt Ranney, Uber
Microservices Practitioner Summit Jan '15 - Scaling Uber from 1 to 100s of Services - Matt Ranney, Uber
Microservices Practitioner Summit Jan '15 - Scaling Uber from 1 to 100s of Services - Matt Ranney, Uber
Microservices Practitioner Summit Jan '15 - Scaling Uber from 1 to 100s of Services - Matt Ranney, Uber
Microservices Practitioner Summit Jan '15 - Scaling Uber from 1 to 100s of Services - Matt Ranney, Uber
Microservices Practitioner Summit Jan '15 - Scaling Uber from 1 to 100s of Services - Matt Ranney, Uber
Microservices Practitioner Summit Jan '15 - Scaling Uber from 1 to 100s of Services - Matt Ranney, Uber
Microservices Practitioner Summit Jan '15 - Scaling Uber from 1 to 100s of Services - Matt Ranney, Uber
Microservices Practitioner Summit Jan '15 - Scaling Uber from 1 to 100s of Services - Matt Ranney, Uber
Microservices Practitioner Summit Jan '15 - Scaling Uber from 1 to 100s of Services - Matt Ranney, Uber
Microservices Practitioner Summit Jan '15 - Scaling Uber from 1 to 100s of Services - Matt Ranney, Uber
Microservices Practitioner Summit Jan '15 - Scaling Uber from 1 to 100s of Services - Matt Ranney, Uber
Microservices Practitioner Summit Jan '15 - Scaling Uber from 1 to 100s of Services - Matt Ranney, Uber
Getting out of the HTTP+JSON business
HTTP is slow, complex, and inconsistent
JSON is hard to validate, awkward in non-node
Thrift is OK, but generated code is bad
Microservices Practitioner Summit Jan '15 - Scaling Uber from 1 to 100s of Services - Matt Ranney, Uber
Microservices Practitioner Summit Jan '15 - Scaling Uber from 1 to 100s of Services - Matt Ranney, Uber
SERVICE DISCOVERY
Microservices Practitioner Summit Jan '15 - Scaling Uber from 1 to 100s of Services - Matt Ranney, Uber
Lots of services, lots of instances
Mostly Node.JS and Python
Call graph unknowable
Self-inflicted DoS
Cascading failures
Microservices Practitioner Summit Jan '15 - Scaling Uber from 1 to 100s of Services - Matt Ranney, Uber
Microservices Practitioner Summit Jan '15 - Scaling Uber from 1 to 100s of Services - Matt Ranney, Uber
Microservices Practitioner Summit Jan '15 - Scaling Uber from 1 to 100s of Services - Matt Ranney, Uber
Microservices Practitioner Summit Jan '15 - Scaling Uber from 1 to 100s of Services - Matt Ranney, Uber
Microservices Practitioner Summit Jan '15 - Scaling Uber from 1 to 100s of Services - Matt Ranney, Uber
load balancerservice A
service B
service B
load balancer
service A service B
service B
Microservices Practitioner Summit Jan '15 - Scaling Uber from 1 to 100s of Services - Matt Ranney, Uber
horizontal scalability
zipkin tracing
circuit breaking
rate limiting
failure testable
almost no configuration
as available as possible
overall latency ≥ latency of slowest component
1ms avg, 1000ms p99
use 1: 1% at least 1000ms
use 100: 63% at least 1000ms
1.0 - 0.99^100 = 0.634 = 63.4%
LATENCY
requeststhatareslow
0%
25%
50%
75%
100%
Processes Used
1 2 4 8 16 32 64 128 256 512 1024
p95 p99 p99.9
Microservices Practitioner Summit Jan '15 - Scaling Uber from 1 to 100s of Services - Matt Ranney, Uber
Microservices Practitioner Summit Jan '15 - Scaling Uber from 1 to 100s of Services - Matt Ranney, Uber
Microservices Practitioner Summit Jan '15 - Scaling Uber from 1 to 100s of Services - Matt Ranney, Uber
CULTURALCHANGES
FAILURE TESTING
RETRIES
partner app dispatch DC1
Location Updates
State Digest
dispatch DC2
Location UpdatesState Request
THANKS

More Related Content

PDF
Beyond DevOps: How Netflix Bridges the Gap?
C4Media
 
PDF
Scaling Uber's Real-time Market Platform
C4Media
 
PDF
Scaling Uber
C4Media
 
PPTX
DevOps at Lowe's - Our Journey
Akamai Developers & Admins
 
PDF
The Hitchhiker's Guide to Serverless JavaScript
C4Media
 
PDF
Voice Applications (Alexa Skills) Cloud Native on Kubernetes with Terraform
VMware Tanzu
 
PDF
OTN tour 2015 opening speech
Andrejs Vorobjovs
 
PDF
Deploying Ruby/Sinatra at Rent the Runway - Next Dev StackUp,May 6, 2014
Timothy Ricablanca
 
Beyond DevOps: How Netflix Bridges the Gap?
C4Media
 
Scaling Uber's Real-time Market Platform
C4Media
 
Scaling Uber
C4Media
 
DevOps at Lowe's - Our Journey
Akamai Developers & Admins
 
The Hitchhiker's Guide to Serverless JavaScript
C4Media
 
Voice Applications (Alexa Skills) Cloud Native on Kubernetes with Terraform
VMware Tanzu
 
OTN tour 2015 opening speech
Andrejs Vorobjovs
 
Deploying Ruby/Sinatra at Rent the Runway - Next Dev StackUp,May 6, 2014
Timothy Ricablanca
 

What's hot (18)

PDF
Infra Agil: How the Ops teams delivery and operate the infrastructures in the...
Mateus Prado
 
PPTX
AWS account migration for BBC iPlayer Radio
Simone Spaccarotella
 
PDF
Microservices and serverless in python projects
Jose Manuel Ortega Candel
 
PDF
Quarterly Technology Briefing, Manchester, UK September 2013
Thoughtworks
 
PDF
Sinatraで触れる生SQL
treby
 
PDF
Reactive Xamarin. UA Mobile 2016.
UA Mobile
 
PDF
Streaming Experience
Shuen-Huei Guan
 
PPTX
How and why test Azure Front Door with AWS Lambda & PowerShell? | Osman Sahin...
UK DevOps Collective
 
PDF
OpenShift live demo @ Bangkok Technology Forum
Anuchit Chalothorn
 
PDF
1Spatial: Cardiff FME World Tour: Live vessel tracking - FME Cloud
1Spatial
 
PDF
Migrate the Mission Critical Application to AWS Cloud
Shuen-Huei Guan
 
PPTX
Linnworks Roadmap: The Future of Linnworks
Linnworks
 
PDF
Scaling Gilt: from monolith ruby app to micro service scala service architecture
Gilt Tech Talks
 
PPT
Lviv PMDay: Юрій Малий Прозорість в роботі команди для керівництва
Lviv Startup Club
 
PDF
Clojure/north 2019 Raising Services and People with Clojure
Katsuyasu Murata
 
PDF
Intro to rails 2_kg_edited
Jamal Sinclair O'Garro
 
PDF
The great migration embracing serverless first
AngelaTimofte1
 
PPTX
Indices y las mejoras del desempeño - Kenneth Urena
SpanishPASSVC
 
Infra Agil: How the Ops teams delivery and operate the infrastructures in the...
Mateus Prado
 
AWS account migration for BBC iPlayer Radio
Simone Spaccarotella
 
Microservices and serverless in python projects
Jose Manuel Ortega Candel
 
Quarterly Technology Briefing, Manchester, UK September 2013
Thoughtworks
 
Sinatraで触れる生SQL
treby
 
Reactive Xamarin. UA Mobile 2016.
UA Mobile
 
Streaming Experience
Shuen-Huei Guan
 
How and why test Azure Front Door with AWS Lambda & PowerShell? | Osman Sahin...
UK DevOps Collective
 
OpenShift live demo @ Bangkok Technology Forum
Anuchit Chalothorn
 
1Spatial: Cardiff FME World Tour: Live vessel tracking - FME Cloud
1Spatial
 
Migrate the Mission Critical Application to AWS Cloud
Shuen-Huei Guan
 
Linnworks Roadmap: The Future of Linnworks
Linnworks
 
Scaling Gilt: from monolith ruby app to micro service scala service architecture
Gilt Tech Talks
 
Lviv PMDay: Юрій Малий Прозорість в роботі команди для керівництва
Lviv Startup Club
 
Clojure/north 2019 Raising Services and People with Clojure
Katsuyasu Murata
 
Intro to rails 2_kg_edited
Jamal Sinclair O'Garro
 
The great migration embracing serverless first
AngelaTimofte1
 
Indices y las mejoras del desempeño - Kenneth Urena
SpanishPASSVC
 
Ad

Similar to Microservices Practitioner Summit Jan '15 - Scaling Uber from 1 to 100s of Services - Matt Ranney, Uber (20)

DOC
Resume_ChiungLun_Hung
Chiung-Lun Hung
 
PDF
Resume - Vaibhav Aggarwal
Vaibhav Aggarwal
 
PPTX
Connect js nodejs_api_shubhra
Shubhra Kar
 
PDF
Shabbir_Resume
Shabbir Abdul
 
DOCX
Vinod penta_SeniorJavaDeveloper
Vinod Kumar
 
PDF
Sandeep acharya CV
Sandeep Acharya
 
PDF
resume
Keshav Ashiya
 
PPTX
Get your head in the cloud coupa cloud platform
Coupa Software
 
PDF
Aswin's Profile
AswinT6
 
PPTX
Trusting an API Spec
Kristofer Sommestad
 
PDF
Dhrumit Sheth_Resume
Dhrumit Sheth
 
PDF
6. Apache Kylin Roadmap and Community - Apache Kylin Meetup @Shanghai
Luke Han
 
PDF
Mesos at OpenTable
samsalisbury
 
PDF
Toronto node js_meetup
Shubhra Kar
 
PDF
Node.js at Uber
Nikolay Stoitsev
 
PDF
ShibiaoNong_Resume_ColumbiaMS (1)
Shibiao Nong
 
PDF
cv_LiangZhao
Liang Zhao
 
PDF
Staff-Augmentation-Services2022-presentation.pdf
EcosmobTechnologies1
 
PDF
Building a CloudStack UI for the Enterprise
David Grizzanti
 
Resume_ChiungLun_Hung
Chiung-Lun Hung
 
Resume - Vaibhav Aggarwal
Vaibhav Aggarwal
 
Connect js nodejs_api_shubhra
Shubhra Kar
 
Shabbir_Resume
Shabbir Abdul
 
Vinod penta_SeniorJavaDeveloper
Vinod Kumar
 
Sandeep acharya CV
Sandeep Acharya
 
Get your head in the cloud coupa cloud platform
Coupa Software
 
Aswin's Profile
AswinT6
 
Trusting an API Spec
Kristofer Sommestad
 
Dhrumit Sheth_Resume
Dhrumit Sheth
 
6. Apache Kylin Roadmap and Community - Apache Kylin Meetup @Shanghai
Luke Han
 
Mesos at OpenTable
samsalisbury
 
Toronto node js_meetup
Shubhra Kar
 
Node.js at Uber
Nikolay Stoitsev
 
ShibiaoNong_Resume_ColumbiaMS (1)
Shibiao Nong
 
cv_LiangZhao
Liang Zhao
 
Staff-Augmentation-Services2022-presentation.pdf
EcosmobTechnologies1
 
Building a CloudStack UI for the Enterprise
David Grizzanti
 
Ad

More from Ambassador Labs (20)

PDF
Building Microservice Systems Without Cooking Your Laptop: Going “Remocal” wi...
Ambassador Labs
 
PDF
Ambassador Developer Office Hours: Summer of Kubernetes Ship Week 1: Intro to...
Ambassador Labs
 
PDF
Cloud native development without the toil
Ambassador Labs
 
PPTX
Webinar: Accelerate Your Inner Dev Loop for Kubernetes Services
Ambassador Labs
 
PDF
[Confoo Montreal 2020] From Grief to Growth: The 7 Stages of Observability - ...
Ambassador Labs
 
PDF
[Confoo Montreal 2020] Build Your Own Serverless with Knative - Alex Gervais
Ambassador Labs
 
PDF
[QCon London 2020] The Future of Cloud Native API Gateways - Richard Li
Ambassador Labs
 
PDF
What's New in the Ambassador Edge Stack 1.0?
Ambassador Labs
 
PDF
Webinar: Effective Management of APIs and the Edge when Adopting Kubernetes
Ambassador Labs
 
PDF
Ambassador: Building a Control Plane for Envoy
Ambassador Labs
 
PDF
Telepresence - Fast Development Workflows for Kubernetes
Ambassador Labs
 
PDF
[KubeCon NA 2018] Telepresence Deep Dive Session - Rafael Schloming & Luke Sh...
Ambassador Labs
 
PDF
[KubeCon NA 2018] Effective Kubernetes Develop: Turbocharge Your Dev Loop - P...
Ambassador Labs
 
PDF
The rise of Layer 7, microservices, and the proxy war with Envoy, NGINX, and ...
Ambassador Labs
 
PDF
The Simply Complex Task of Implementing Kubernetes Ingress - Velocity NYC
Ambassador Labs
 
PDF
Ambassador Kubernetes-Native API Gateway
Ambassador Labs
 
PPTX
Micro xchg 2018 - What is a Service Mesh?
Ambassador Labs
 
PDF
KubeCon NA 2017: Ambassador and Envoy (Envoy Salon)
Ambassador Labs
 
PDF
Webinar: Code Faster on Kubernetes
Ambassador Labs
 
PDF
QCon SF 2017 - Microservices: Service-Oriented Development
Ambassador Labs
 
Building Microservice Systems Without Cooking Your Laptop: Going “Remocal” wi...
Ambassador Labs
 
Ambassador Developer Office Hours: Summer of Kubernetes Ship Week 1: Intro to...
Ambassador Labs
 
Cloud native development without the toil
Ambassador Labs
 
Webinar: Accelerate Your Inner Dev Loop for Kubernetes Services
Ambassador Labs
 
[Confoo Montreal 2020] From Grief to Growth: The 7 Stages of Observability - ...
Ambassador Labs
 
[Confoo Montreal 2020] Build Your Own Serverless with Knative - Alex Gervais
Ambassador Labs
 
[QCon London 2020] The Future of Cloud Native API Gateways - Richard Li
Ambassador Labs
 
What's New in the Ambassador Edge Stack 1.0?
Ambassador Labs
 
Webinar: Effective Management of APIs and the Edge when Adopting Kubernetes
Ambassador Labs
 
Ambassador: Building a Control Plane for Envoy
Ambassador Labs
 
Telepresence - Fast Development Workflows for Kubernetes
Ambassador Labs
 
[KubeCon NA 2018] Telepresence Deep Dive Session - Rafael Schloming & Luke Sh...
Ambassador Labs
 
[KubeCon NA 2018] Effective Kubernetes Develop: Turbocharge Your Dev Loop - P...
Ambassador Labs
 
The rise of Layer 7, microservices, and the proxy war with Envoy, NGINX, and ...
Ambassador Labs
 
The Simply Complex Task of Implementing Kubernetes Ingress - Velocity NYC
Ambassador Labs
 
Ambassador Kubernetes-Native API Gateway
Ambassador Labs
 
Micro xchg 2018 - What is a Service Mesh?
Ambassador Labs
 
KubeCon NA 2017: Ambassador and Envoy (Envoy Salon)
Ambassador Labs
 
Webinar: Code Faster on Kubernetes
Ambassador Labs
 
QCon SF 2017 - Microservices: Service-Oriented Development
Ambassador Labs
 

Recently uploaded (20)

PDF
Get More from Fiori Automation - What’s New, What Works, and What’s Next.pdf
Precisely
 
PDF
Accelerating Oracle Database 23ai Troubleshooting with Oracle AHF Fleet Insig...
Sandesh Rao
 
PPTX
Dev Dives: Automate, test, and deploy in one place—with Unified Developer Exp...
AndreeaTom
 
PPTX
AI in Daily Life: How Artificial Intelligence Helps Us Every Day
vanshrpatil7
 
PDF
Data_Analytics_vs_Data_Science_vs_BI_by_CA_Suvidha_Chaplot.pdf
CA Suvidha Chaplot
 
PDF
NewMind AI Weekly Chronicles - July'25 - Week IV
NewMind AI
 
PDF
Structs to JSON: How Go Powers REST APIs
Emily Achieng
 
PDF
Brief History of Internet - Early Days of Internet
sutharharshit158
 
PPTX
Agile Chennai 18-19 July 2025 Ideathon | AI Powered Microfinance Literacy Gui...
AgileNetwork
 
PDF
How ETL Control Logic Keeps Your Pipelines Safe and Reliable.pdf
Stryv Solutions Pvt. Ltd.
 
PPTX
The-Ethical-Hackers-Imperative-Safeguarding-the-Digital-Frontier.pptx
sujalchauhan1305
 
PPTX
What-is-the-World-Wide-Web -- Introduction
tonifi9488
 
PDF
AI Unleashed - Shaping the Future -Starting Today - AIOUG Yatra 2025 - For Co...
Sandesh Rao
 
PDF
Unlocking the Future- AI Agents Meet Oracle Database 23ai - AIOUG Yatra 2025.pdf
Sandesh Rao
 
PDF
Tea4chat - another LLM Project by Kerem Atam
a0m0rajab1
 
PDF
The Future of Mobile Is Context-Aware—Are You Ready?
iProgrammer Solutions Private Limited
 
PDF
Software Development Methodologies in 2025
KodekX
 
PDF
Responsible AI and AI Ethics - By Sylvester Ebhonu
Sylvester Ebhonu
 
PDF
Using Anchore and DefectDojo to Stand Up Your DevSecOps Function
Anchore
 
PDF
Economic Impact of Data Centres to the Malaysian Economy
flintglobalapac
 
Get More from Fiori Automation - What’s New, What Works, and What’s Next.pdf
Precisely
 
Accelerating Oracle Database 23ai Troubleshooting with Oracle AHF Fleet Insig...
Sandesh Rao
 
Dev Dives: Automate, test, and deploy in one place—with Unified Developer Exp...
AndreeaTom
 
AI in Daily Life: How Artificial Intelligence Helps Us Every Day
vanshrpatil7
 
Data_Analytics_vs_Data_Science_vs_BI_by_CA_Suvidha_Chaplot.pdf
CA Suvidha Chaplot
 
NewMind AI Weekly Chronicles - July'25 - Week IV
NewMind AI
 
Structs to JSON: How Go Powers REST APIs
Emily Achieng
 
Brief History of Internet - Early Days of Internet
sutharharshit158
 
Agile Chennai 18-19 July 2025 Ideathon | AI Powered Microfinance Literacy Gui...
AgileNetwork
 
How ETL Control Logic Keeps Your Pipelines Safe and Reliable.pdf
Stryv Solutions Pvt. Ltd.
 
The-Ethical-Hackers-Imperative-Safeguarding-the-Digital-Frontier.pptx
sujalchauhan1305
 
What-is-the-World-Wide-Web -- Introduction
tonifi9488
 
AI Unleashed - Shaping the Future -Starting Today - AIOUG Yatra 2025 - For Co...
Sandesh Rao
 
Unlocking the Future- AI Agents Meet Oracle Database 23ai - AIOUG Yatra 2025.pdf
Sandesh Rao
 
Tea4chat - another LLM Project by Kerem Atam
a0m0rajab1
 
The Future of Mobile Is Context-Aware—Are You Ready?
iProgrammer Solutions Private Limited
 
Software Development Methodologies in 2025
KodekX
 
Responsible AI and AI Ethics - By Sylvester Ebhonu
Sylvester Ebhonu
 
Using Anchore and DefectDojo to Stand Up Your DevSecOps Function
Anchore
 
Economic Impact of Data Centres to the Malaysian Economy
flintglobalapac
 

Microservices Practitioner Summit Jan '15 - Scaling Uber from 1 to 100s of Services - Matt Ranney, Uber