SlideShare a Scribd company logo
The Next Genera,on of Microservices
Phil Calçado
h9p://philcalcado.com
@pcalcado
The Next Generation of Microservices
highly distributed applica1on
architecture
We can think of microservices as
Highly distributed applica,on
architectures are just a flavor of
distributed compu1ng
Technical Challenges
Organiza,on
Challenges
Introducing distribu,on into your
architecture brings up new
Introducing distribu,on into your
architecture brings up new
The Next Generation of Microservices
The example we will work with today:
Recovering from temporary
failure
Back in 2013…
The Next Generation of Microservices
"I know, let’s use microservices”
Timeouts
Your code looks like this now
Biz Logic
Timeouts
server
client
Timeouts
Your code looks like this now
Biz Logic
Timeouts
RPC code
server
client
🔥🔥 🔥
The Next Generation of Microservices
🔥
wait
☺ 😰
🔥 🔥
wait
☺ 😰
🔥
☺
☺
☺
☺
☺
☺
☺
☺
"I know, let’s implement circuit breakers
and ,meouts”
Circuit breakers
Timeouts
Your code looks like this now
Biz Logic
Timeouts
Telemetry
RPC code
server
client client client client client client
🔥
wait
☺ 😰
🔥 🔥
wait
☺ 😰
🔥
☺
☺
☺
☺
☺
☺
☺
☺
🔥
wait
☺ 😰
🔥 🔥
☺
wait
😰 ☺
🔥 🔥
wait
😰 ☺
🔥 🔥
wait
😰 ☺
🔥 🔥
…
🔥
🗑
"I know, let’s have all circuit
breakers share state”
"I know, let’s have all circuit
breakers share state”
Answer to the question “how did my
application ended up importing a
Zookeeper library again?"
Circuit breakers
Timeouts
Your code looks like this now
Biz Logic
Timeouts
Telemetry
RPC code
Distributed state
server
client
🔥🔥 🔥
server server serverserver
🔥🔥 🔥💩
🤔
Which instance should we talk to?
☺
DNS be like…
'
"I know, let’s have clients keep track of
healthy instances”
Circuit breakers
Timeouts
Your code looks like this now
Biz Logic
Timeouts
Telemetry
RPC code
Distributed state
Client-side
Service Discovery
And that’s just for RPC reliability.
What makes 2017 different?
Experience
reports
Open-source
sobware you
can use
Circuit breakers
Timeouts
Biz Logic
Timeouts
Telemetry
RPC code
Distributed state
Client-side
Service Discovery
SDK
Applica,on
Transport
Internet
Network
Circuit breakers
Telemetry
RPC code
Distributed state
Client-side
Service Discovery
}TCP/IP
}?
One way to think about it
But how does one go about
adding a new layer to the
TCP/IP stack?
Sidecars to the rescue
Circuit breakers
Timeouts
Biz Logic
Timeouts
Telemetry
RPC code
Distributed state
Client-side
Service Discovery
SCARY OUTSIDE
WORLD
Sidecars to the rescue
Circuit breakers
Timeouts
Biz Logic
Timeouts
Telemetry
RPC code
Distributed state
Client-side
Service Discovery
SCARY OUTSIDE
WORLDSidecar
Sidecars to the rescue
The Next Generation of Microservices
How does that impact your service?
Circuit breakers
Timeouts
Biz Logic
Timeouts
Telemetry
RPC code
Distributed state
Client-side
Service Discovery
Service
Plaform
Biz Logic
Stability
Service
Plaform
The Next Generation of Microservices
Timeouts
Biz Logic
Stability
Service
Plaform
Capacity Security Availability
Biz LogicService
Plaform
Service Mesh
Allows our services to pretend some of those are
true
It’s not that these pa9erns aren’t
used anymore, it’s just that the
dumb work moved down the stack.
New, optmised, protocols are quite opaque
(e.g. gRPC and friends)
Works be9er with
metadata-rich protocols
It makes it even harder to fully replicate
produc,on earlier in the development cycle
Coupled to the plaform
Not everything will be part of the mesh,
i.e. the network s,ll isn’t homogeneous
Leaky abstrac,on
Q&A

More Related Content

PDF
Introduction to Istio Service Mesh
PDF
The Next Generation of Microservices — YOW 2017 Brisbane
PDF
The Economics of Microservices (redux)
PDF
The Not-So-Straightforward Road From Microservices to Serverless
PDF
Ten Years of Failing Microservices
PDF
Cloud-Native Progressive Delivery
PPTX
Api Gateway - What's the use of an api gateway?
PDF
APIdays Paris 2018 - API Management is Dead, Augusto Marietti, CEO and Co-Fou...
Introduction to Istio Service Mesh
The Next Generation of Microservices — YOW 2017 Brisbane
The Economics of Microservices (redux)
The Not-So-Straightforward Road From Microservices to Serverless
Ten Years of Failing Microservices
Cloud-Native Progressive Delivery
Api Gateway - What's the use of an api gateway?
APIdays Paris 2018 - API Management is Dead, Augusto Marietti, CEO and Co-Fou...

What's hot (20)

PDF
Angular 2 kickstart
PPTX
Design and Evolution of APIs in Microservice Architecture
PDF
Microservices:
 The phantom menace
. Istio Service Mesh: 
the new hope
PPTX
From Microservices to Service Mesh - devcafe event - July 2018
PDF
APIdays Paris 2018 - Disagree with “I Agree”. Enforcing Better GDPR Complianc...
PDF
Telco-grade support for open-source based VAS, Irek Nowak, pro-IDS
PPTX
Service Mesh for Microservices - Vietnam Mobile Day - June 2018
PPTX
Getting out of the monolith hell
PDF
Microservice API Gateways with NGINX
PPTX
O'Reilly 2017: "Introduction to Service Meshes"
PDF
Microservices with Spring Cloud
PPTX
Microservices in GO lang
PDF
The Service Mesh: It's about Traffic
PDF
Connectivity Is the Future
PPTX
Bring Service Mesh To Cloud Native-apps
PPTX
DevDay: A Tale of Corda Slack Adventures, R3
 
PPTX
Developers’ mDay 2021: Robert Juhas, SimpleTask – Should I run my own blockc...
PDF
apidays LIVE Australia 2020 - From micro to macro-coordination through domain...
PPTX
Developers’ mDay 2019. - Dejan Bosanac, Red Hat – Cloud scale IoT connectivity
PDF
Service mesh with istio
Angular 2 kickstart
Design and Evolution of APIs in Microservice Architecture
Microservices:
 The phantom menace
. Istio Service Mesh: 
the new hope
From Microservices to Service Mesh - devcafe event - July 2018
APIdays Paris 2018 - Disagree with “I Agree”. Enforcing Better GDPR Complianc...
Telco-grade support for open-source based VAS, Irek Nowak, pro-IDS
Service Mesh for Microservices - Vietnam Mobile Day - June 2018
Getting out of the monolith hell
Microservice API Gateways with NGINX
O'Reilly 2017: "Introduction to Service Meshes"
Microservices with Spring Cloud
Microservices in GO lang
The Service Mesh: It's about Traffic
Connectivity Is the Future
Bring Service Mesh To Cloud Native-apps
DevDay: A Tale of Corda Slack Adventures, R3
 
Developers’ mDay 2021: Robert Juhas, SimpleTask – Should I run my own blockc...
apidays LIVE Australia 2020 - From micro to macro-coordination through domain...
Developers’ mDay 2019. - Dejan Bosanac, Red Hat – Cloud scale IoT connectivity
Service mesh with istio
Ad

Similar to The Next Generation of Microservices (20)

PDF
Expect the unexpected: Prepare for failures in microservices
PPTX
JFuture - Battle of the circuit breakers
PPTX
Kubernetes Online Meetup - Battle of the Circuit Breakers
PPTX
GOTO Berlin - Battle of the Circuit Breakers: Resilience4J vs Istio
PPTX
OSAD - Battle of the Circuit Breakers
PPTX
Stability Patterns for Microservices
PPTX
Detroit A Smart City..... inspired by a "Community of Practice"
PPTX
Building the Resilient Grid NRECA SFA
PPTX
Designing Fault Tolerant Microservices
PDF
Upgrading_your_microservices_to_next_level_v1.0.pdf
PDF
Circuit breaker mechanism for Microservices based architecture
PDF
Modern Computing System & Beyond
ODP
Zero Downtime JEE Architectures
PPTX
Tef con2016 (1)
PPTX
Expect the unexpected: Anticipate and prepare for failures in microservices b...
PPTX
Circuit Breaker Pattern
PDF
2-25-2014 Part 1 - NRECA Kickoff Meeting v2
PPTX
Nreca kickoff meeting
PDF
Software Architecture for Cloud Infrastructure
PPTX
Circuit breaker pattern
Expect the unexpected: Prepare for failures in microservices
JFuture - Battle of the circuit breakers
Kubernetes Online Meetup - Battle of the Circuit Breakers
GOTO Berlin - Battle of the Circuit Breakers: Resilience4J vs Istio
OSAD - Battle of the Circuit Breakers
Stability Patterns for Microservices
Detroit A Smart City..... inspired by a "Community of Practice"
Building the Resilient Grid NRECA SFA
Designing Fault Tolerant Microservices
Upgrading_your_microservices_to_next_level_v1.0.pdf
Circuit breaker mechanism for Microservices based architecture
Modern Computing System & Beyond
Zero Downtime JEE Architectures
Tef con2016 (1)
Expect the unexpected: Anticipate and prepare for failures in microservices b...
Circuit Breaker Pattern
2-25-2014 Part 1 - NRECA Kickoff Meeting v2
Nreca kickoff meeting
Software Architecture for Cloud Infrastructure
Circuit breaker pattern
Ad

More from Phil Calçado (20)

PDF
the afterparty: refactoring after 100x hypergrowth
PDF
don't try this at home: self-improvement as a senior leader
PDF
From microservices to serverless - Chicago CTO Summit 2019
PDF
The Economics of Microservices (2017 CraftConf)
PDF
Microservices vs. The First Law of Distributed Objects - GOTO Nights Chicago ...
PDF
Finagle @ SoundCloud
PDF
A Brief Talk On High-Performing Organisations
PDF
Three Years of Microservices at SoundCloud - Distributed Matters Berlin 2015
PDF
Rhein-Main Scala Enthusiasts — Your microservice as a Function
PDF
ScalaItaly 2015 - Your Microservice as a Function
PDF
Finagle-Based Microservices at SoundCloud
PDF
An example of Future composition in a real app
PDF
APIs: The Problems with Eating your Own Dog Food
PDF
Evolutionary Architecture at Work
PDF
Structuring apps in Scala
PDF
From a monolithic Ruby on Rails app to the JVM
PDF
Applying Evolutionary Architecture on a Popular API
PDF
SoundCloud Masterclass on Brazil
PDF
SpeakerConf: my findings in trying to use this functional programming busines...
PDF
[GOTO Copenhagen 2012] The Startup Hangover: Supporting 15 mil Users
the afterparty: refactoring after 100x hypergrowth
don't try this at home: self-improvement as a senior leader
From microservices to serverless - Chicago CTO Summit 2019
The Economics of Microservices (2017 CraftConf)
Microservices vs. The First Law of Distributed Objects - GOTO Nights Chicago ...
Finagle @ SoundCloud
A Brief Talk On High-Performing Organisations
Three Years of Microservices at SoundCloud - Distributed Matters Berlin 2015
Rhein-Main Scala Enthusiasts — Your microservice as a Function
ScalaItaly 2015 - Your Microservice as a Function
Finagle-Based Microservices at SoundCloud
An example of Future composition in a real app
APIs: The Problems with Eating your Own Dog Food
Evolutionary Architecture at Work
Structuring apps in Scala
From a monolithic Ruby on Rails app to the JVM
Applying Evolutionary Architecture on a Popular API
SoundCloud Masterclass on Brazil
SpeakerConf: my findings in trying to use this functional programming busines...
[GOTO Copenhagen 2012] The Startup Hangover: Supporting 15 mil Users

Recently uploaded (20)

PDF
SAP S4 Hana Brochure 3 (PTS SYSTEMS AND SOLUTIONS)
PDF
top salesforce developer skills in 2025.pdf
PDF
How Creative Agencies Leverage Project Management Software.pdf
PDF
Adobe Illustrator 28.6 Crack My Vision of Vector Design
PDF
PTS Company Brochure 2025 (1).pdf.......
PPTX
Odoo POS Development Services by CandidRoot Solutions
PDF
AI in Product Development-omnex systems
PPTX
Essential Infomation Tech presentation.pptx
PDF
Which alternative to Crystal Reports is best for small or large businesses.pdf
PDF
Wondershare Filmora 15 Crack With Activation Key [2025
PDF
Addressing The Cult of Project Management Tools-Why Disconnected Work is Hold...
PDF
Internet Downloader Manager (IDM) Crack 6.42 Build 41
PDF
Audit Checklist Design Aligning with ISO, IATF, and Industry Standards — Omne...
PDF
System and Network Administration Chapter 2
PDF
Odoo Companies in India – Driving Business Transformation.pdf
PPTX
Oracle E-Business Suite: A Comprehensive Guide for Modern Enterprises
PDF
Internet Downloader Manager (IDM) Crack 6.42 Build 42 Updates Latest 2025
PDF
Design an Analysis of Algorithms I-SECS-1021-03
PDF
Why TechBuilder is the Future of Pickup and Delivery App Development (1).pdf
PDF
Raksha Bandhan Grocery Pricing Trends in India 2025.pdf
SAP S4 Hana Brochure 3 (PTS SYSTEMS AND SOLUTIONS)
top salesforce developer skills in 2025.pdf
How Creative Agencies Leverage Project Management Software.pdf
Adobe Illustrator 28.6 Crack My Vision of Vector Design
PTS Company Brochure 2025 (1).pdf.......
Odoo POS Development Services by CandidRoot Solutions
AI in Product Development-omnex systems
Essential Infomation Tech presentation.pptx
Which alternative to Crystal Reports is best for small or large businesses.pdf
Wondershare Filmora 15 Crack With Activation Key [2025
Addressing The Cult of Project Management Tools-Why Disconnected Work is Hold...
Internet Downloader Manager (IDM) Crack 6.42 Build 41
Audit Checklist Design Aligning with ISO, IATF, and Industry Standards — Omne...
System and Network Administration Chapter 2
Odoo Companies in India – Driving Business Transformation.pdf
Oracle E-Business Suite: A Comprehensive Guide for Modern Enterprises
Internet Downloader Manager (IDM) Crack 6.42 Build 42 Updates Latest 2025
Design an Analysis of Algorithms I-SECS-1021-03
Why TechBuilder is the Future of Pickup and Delivery App Development (1).pdf
Raksha Bandhan Grocery Pricing Trends in India 2025.pdf

The Next Generation of Microservices