SlideShare a Scribd company logo
1 of 77
Download to read offline
THE COST OF MICROSERVICES
A RETROSPECTIVE ON LEADPAGES’ MICROSERVICIZATION JOURNEY
MICHAEL NADEL / ENGINEERING MANAGER, LEADPAGES / @MNADEL
WHO’S LEADPAGES?
▸ Minneapolis-based marketing technology startup founded
in 2012
▸ We make software that lets small businesses quickly build
high-converting landing pages and other lead capture
tools
WHAT’S A LANDING PAGE?
▸ A standalone web page
▸ Designed for a single purpose
▸ Direct-marketing technique to grow engagement with and
commitment from customers
LEADPAGES INTEGRATIONS
▸ Add email address to a mailing list
▸ And also add the contact to your CRM
▸ And also integrate with Stripe
ERA OF THE
MONOLITH
2012
2012 — 2014
GROWTH
▸ Double-digit month-over-month top line growth
▸ Raised $38M venture capital
▸ Engineering grew from 1 → 24
EARLY 2015
ENGINEERING ORGANIZATION
▸ 2 teams of 12 developers
▸ Separate QA & PM functions
▸ Still rockin’ the monolith
MID 2015
PAIN POINTS
▸ Outgrown the PaaS monolith
MID 2015
PAIN POINTS
▸ Outgrown the PaaS monolith
▸ Scaling a monolith on PaaS
END 2015
END 2015
GOALS
▸ Decouple development teams
▸ Develop a clear ownership model
▸ Better control over costs
YEAR OF THE
MICROSERVICE
2016
2016
2016
THERE WERE CHALLENGES
▸ Organizational
▸ Technical
▸ Cultural
2016
ORGANIZATIONAL CHALLENGES
▸ Centralized QA & PM no longer serving us well
2016
ORGANIZATIONAL CHALLENGES
▸ Centralized QA & PM no longer serving us well
▸ Lack of focus on operational concerns
2016
ORGANIZATIONAL CHALLENGES
▸ Centralized QA & PM no longer serving us well
▸ Lack of focus on operational concerns
▸ Diverted a meaningful portion of our development
resources
2016
TECHNICAL CHALLENGES
▸ There are always challenges
▸ The way you navigate them…
2016
CULTURAL CHALLENGES
2016
CULTURAL CHALLENGES
It’s a paradigm shift!
2016
CULTURAL CHALLENGES
It’s a paradigm shift!
It will require people to change.
2016
CULTURAL CHALLENGES
It’s a paradigm shift!
It will require people to change.
Change is hard.
2016
CULTURAL CHALLENGES
It’s a paradigm shift!
It will require people to change.
Change is hard.
It really is a paradigm shift.
2016
CULTURAL CHALLENGES
It’s a paradigm shift!
It will require people to change.
Change is hard.
It really is a paradigm shift.
Change is really hard.
2016
PARADIGM SHIFT
▸ New programming model
2016
PARADIGM SHIFT
▸ New programming model
▸ Brand new failure modes
2016
WE WERE ASKING PEOPLE TO…
▸ Unlearn and abandon the familiar
▸ Move out of their comfort zone
▸ Climb a steep learning curve
2016
CHANGE IS HARD
▸ People can be resistant to change
▸ Consensus-building eventually gave way to mandates
▸ People unintentionally undermining progress
2016
THE HARD TRUTH
▸ Goals/aspirations were aligned to the monolithic
paradigm
2016
THE HARD TRUTH
▸ Goals/aspirations were aligned to the monolithic
paradigm
▸ It’s a learning curve; not everyone willing to invest in
climbing our specific curve
2016
WHERE WE LANDED
▸ 35 — 40 services in production
▸ 36 engineers across 4 teams
▸ Developers owned quality, practiced TDD
▸ PM → Product Owners, embedded in team
▸ Infra team grew from 0 → 4
2016
HOW’D WE DO AGAINST OUR GOALS?
2016
HOW’D WE DO AGAINST OUR GOALS?
▸ Decoupled teams
2016
HOW’D WE DO AGAINST OUR GOALS?
▸ Decoupled teams
▸ Physically isolated APIs
2016
HOW’D WE DO AGAINST OUR GOALS?
▸ Decoupled teams
▸ Physically isolated APIs
▸ Clear ownership model
2016
HOW’D WE DO AGAINST OUR GOALS?
▸ Decoupled teams
▸ Physically isolated APIs
▸ Clear ownership model
▸ Yeah…about that…
2016
HOW’D WE DO AGAINST OUR GOALS?
▸ Decoupled teams
▸ Physically isolated APIs
▸ Clear ownership model
▸ Yeah…about that…
▸ Control over costs
2016
HOW’D WE DO AGAINST OUR GOALS?
▸ Decoupled teams
▸ Physically isolated APIs
▸ Clear ownership model
▸ Yeah…about that…
▸ Control over costs
▸ IaaS more flexible than PaaS
BUT…
END 2016
END 2016
PHYSICAL ARCHITECTURE
HAProxy
API API
Worker Worker
END 2016
NEW COST MODEL
▸ 5 VMs per service
END 2016
NEW COST MODEL
▸ 5 VMs per service
▸ 40 services
END 2016
NEW COST MODEL
▸ 5 VMs per service
▸ 40 services
▸ 2 environments
END 2016
NEW COST MODEL
▸ 5 VMs per service
▸ 40 services
▸ 2 environments
▸ = 400 VMs
END 2016
NEW HARD TRUTH
▸ Operational complexity
END 2016
NEW HARD TRUTH
▸ Operational complexity
▸ + Risky deployments
END 2016
NEW HARD TRUTH
▸ Operational complexity
▸ + Risky deployments
▸ = Reduced overall velocity
END 2016
NEW GOALS!
▸ Simplify to reduce complexity and increase velocity
▸ Reduce operational expenses
HOW DO WE CONVINCE PEOPLE THAT IN
PROGRAMMING SIMPLICITY AND CLARITY…
ARE NOT A DISPENSABLE LUXURY, BUT A
CRUCIAL MATTER THAT DECIDES BETWEEN
SUCCESS AND FAILURE?
Edsger Dijkstra
2017
LEVERS WE FOCUSED ON
▸ Simplification
▸ Reduce deployment risk
▸ Cost reduction
▸ Increase resource utilization
THE YEAR OF
KUBERNETES
2017
2017
KUBERNETES — SIMPLIFICATION
▸ Google Kubernetes Engine
▸ Fully-managed Kubernetes
2017
KUBERNETES — SIMPLIFICATION
▸ Google Kubernetes Engine
▸ Fully-managed Kubernetes
▸ Containers
▸ Fixed dependency hell & deployment pipelines
2017
KUBERNETES — SIMPLIFICATION
▸ Google Kubernetes Engine
▸ Fully-managed Kubernetes
▸ Containers
▸ Fixed dependency hell & deployment pipelines
▸ Chef/Packer/Terraform/Ansible
▸ Dockerfile + Templatized K8s manifests
2017
KUBERNETES WINS
▸ Resource utilization
▸ 2 VMs staging, 6 VMs production
2017
KUBERNETES WINS
▸ Resource utilization
▸ 2 VMs staging, 6 VMs production
▸ 60 — 75% compute savings
2017
KUBERNETES WINS
▸ Resource utilization
▸ 2 VMs staging, 6 VMs production
▸ 60 — 75% compute savings
▸ Faster autoscaling
2017
KUBERNETES WINS
▸ Resource utilization
▸ 2 VMs staging, 6 VMs production
▸ 60 — 75% compute savings
▸ Faster autoscaling
▸ True high availability
END 2017
RETRO!
END 2017
TAKEAWAYS
▸ Cultural
▸ Technical
▸ Financial
END 2017
TAKEAWAYS — CULTURAL
▸ You cannot overestimate the cultural/people impact
END 2017
TAKEAWAYS — CULTURAL
▸ You cannot overestimate the cultural/people impact
▸ Give people room to unlearn, learn, and relearn
END 2017
TAKEAWAYS — CULTURAL
▸ You cannot overestimate the cultural/people impact
▸ Give people room to unlearn, learn, and relearn
▸ Actively seek out diverse perspectives
END 2017
TAKEAWAYS — CULTURAL
▸ You cannot overestimate the cultural/people impact
▸ Give people room to unlearn, learn, and relearn
▸ Actively seek out diverse perspectives
▸ Ensure you have 100% commitment from leadership
END 2017
TAKEAWAYS — TECHNICAL
▸ Minimize the slope of the learning curve
END 2017
TAKEAWAYS — TECHNICAL
▸ Minimize the slope of the learning curve
▸ Know your tools/platform and their constraints/tradeoffs
END 2017
TAKEAWAYS — TECHNICAL
▸ Minimize the slope of the learning curve
▸ Know your tools/platform and their constraints/tradeoffs
▸ Be afraid of new technologies
END 2017
TAKEAWAYS — TECHNICAL
▸ Minimize the slope of the learning curve
▸ Know your tools/platform and their constraints/tradeoffs
▸ Be afraid of new technologies
▸ Don’t be afraid to experiment
END 2017
TAKEAWAYS — FINANCIAL
▸ Pay attention to resource utilization
END 2017
TAKEAWAYS — FINANCIAL
▸ Pay attention to resource utilization
▸ Consider the compute density of your stack
END 2017
TAKEAWAYS — FINANCIAL
▸ Pay attention to resource utilization
▸ Consider the compute density of your stack
▸ Understand the cost model of your physical architecture
PROBABLY I AM VERY NAIVE, BUT I
ALSO THINK I PREFER TO REMAIN SO,
AT LEAST FOR THE TIME BEING AND
PERHAPS FOR THE REST OF MY LIFE.
Edsger Dijkstra
THANKS FOR LISTENING!
Michael Nadel

More Related Content

Similar to The Cost of Microservices

Optimisation through Localisation - Webinar Slides
Optimisation through Localisation - Webinar SlidesOptimisation through Localisation - Webinar Slides
Optimisation through Localisation - Webinar Slides
Marketo
 
UX STRAT Europe 2019: Zachary Jean Paradis, Publicis Sapient
UX STRAT Europe 2019: Zachary Jean Paradis, Publicis SapientUX STRAT Europe 2019: Zachary Jean Paradis, Publicis Sapient
UX STRAT Europe 2019: Zachary Jean Paradis, Publicis Sapient
UX STRAT
 

Similar to The Cost of Microservices (20)

How HR Can Move the Needle for Business
How HR Can Move the Needle for BusinessHow HR Can Move the Needle for Business
How HR Can Move the Needle for Business
 
Scrum Day 2013 - Co-Innovation and Intrapreneurship
Scrum Day 2013 - Co-Innovation and IntrapreneurshipScrum Day 2013 - Co-Innovation and Intrapreneurship
Scrum Day 2013 - Co-Innovation and Intrapreneurship
 
SAP's Road to Innovation - Design Thinking and Lean Develompent in Practice
SAP's Road to Innovation - Design Thinking and Lean Develompent in PracticeSAP's Road to Innovation - Design Thinking and Lean Develompent in Practice
SAP's Road to Innovation - Design Thinking and Lean Develompent in Practice
 
PhilGaringL&D2016Keynote
PhilGaringL&D2016KeynotePhilGaringL&D2016Keynote
PhilGaringL&D2016Keynote
 
Design Thinking for Disruptive Business
Design Thinking for Disruptive BusinessDesign Thinking for Disruptive Business
Design Thinking for Disruptive Business
 
How HR Can Move the Needle for the Business
How HR Can Move the Needle for the BusinessHow HR Can Move the Needle for the Business
How HR Can Move the Needle for the Business
 
Optimisation through Localisation - Webinar Slides
Optimisation through Localisation - Webinar SlidesOptimisation through Localisation - Webinar Slides
Optimisation through Localisation - Webinar Slides
 
The Kanban PMO: How to improve an existing PMO using Kanban and AgilePM
The Kanban PMO: How to improve an existing PMO using Kanban and AgilePMThe Kanban PMO: How to improve an existing PMO using Kanban and AgilePM
The Kanban PMO: How to improve an existing PMO using Kanban and AgilePM
 
Are we Agile or Fragile? Agile Africa 2017 - Reflections from the IQbusiness ...
Are we Agile or Fragile? Agile Africa 2017 - Reflections from the IQbusiness ...Are we Agile or Fragile? Agile Africa 2017 - Reflections from the IQbusiness ...
Are we Agile or Fragile? Agile Africa 2017 - Reflections from the IQbusiness ...
 
UX STRAT Europe 2019: Zachary Jean Paradis, Publicis Sapient
UX STRAT Europe 2019: Zachary Jean Paradis, Publicis SapientUX STRAT Europe 2019: Zachary Jean Paradis, Publicis Sapient
UX STRAT Europe 2019: Zachary Jean Paradis, Publicis Sapient
 
Building a Responsive Organization for the Digital Era
Building a Responsive Organization for the Digital EraBuilding a Responsive Organization for the Digital Era
Building a Responsive Organization for the Digital Era
 
Competing on commercial capabilities
Competing on commercial capabilitiesCompeting on commercial capabilities
Competing on commercial capabilities
 
Update: SAP's Road to Customer-Centered Product Innovation
Update: SAP's Road to Customer-Centered Product InnovationUpdate: SAP's Road to Customer-Centered Product Innovation
Update: SAP's Road to Customer-Centered Product Innovation
 
A CTO always pays his debt - Agile Tour Bordeaux 2017
A CTO always pays his debt - Agile Tour Bordeaux 2017A CTO always pays his debt - Agile Tour Bordeaux 2017
A CTO always pays his debt - Agile Tour Bordeaux 2017
 
6+1 Technical Tips for Tech Startups (2023 Edition)
6+1 Technical Tips for Tech Startups (2023 Edition)6+1 Technical Tips for Tech Startups (2023 Edition)
6+1 Technical Tips for Tech Startups (2023 Edition)
 
How Allina Health Created A Digital Experience Team
How Allina Health Created A Digital Experience TeamHow Allina Health Created A Digital Experience Team
How Allina Health Created A Digital Experience Team
 
IDM Creative Data Academy 2017 Session
IDM Creative Data Academy 2017 SessionIDM Creative Data Academy 2017 Session
IDM Creative Data Academy 2017 Session
 
UX Strategy as a tool for design transformation
UX Strategy as a tool for design transformationUX Strategy as a tool for design transformation
UX Strategy as a tool for design transformation
 
FXD 2018: Ryan Rumsey, USAA
FXD 2018: Ryan Rumsey, USAAFXD 2018: Ryan Rumsey, USAA
FXD 2018: Ryan Rumsey, USAA
 
Early Stage Growth Strategies
Early Stage Growth StrategiesEarly Stage Growth Strategies
Early Stage Growth Strategies
 

Recently uploaded

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
vu2urc
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
Earley Information Science
 
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
Enterprise Knowledge
 
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
giselly40
 

Recently uploaded (20)

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
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
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
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.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
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
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
 
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
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
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...
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
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
 
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?
 
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
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
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
 

The Cost of Microservices