SlideShare a Scribd company logo
The Next Generation of
Microservices
Phil Calçado
http://philcalcado.com
@pcalcado
The Next Generation of Microservices — YOW 2017 Brisbane
highly distributed
application architecture
We can think of microservices as
Highly distributed application
architectures are just a flavor of
distributed computing
Technical
Challenges
Organization
Challenges
Introducing distribution into your
architecture brings up new
Introducing distribution into your
architecture brings up new
The Next Generation of Microservices — YOW 2017 Brisbane
The example we will work with today:
Recovering from
temporary failure
Back in 2013…
The Next Generation of Microservices — YOW 2017 Brisbane
"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 — YOW 2017 Brisbane
 🔥
wait
☺ 😰
 🔥 🔥
wait
☺ 😰
 🔥
☺
☺
☺
☺
☺
☺
☺
☺
"I know, let’s implement circuit breakers
and timeouts”
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
"I know, let’s have clients keep track of
healthy instances”
server
client
  🔥  🔥  🔥
server server serverserver
  🔥  🔥  🔥  💩
  🤔
Which instance should we talk to?
 ☺
DNS be like…
'
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
software you
can use
Circuit breakers
Timeouts
Biz Logic
Timeouts
Telemetry
RPC code
Distributed state
Client-side
Service Discovery
SDK
Application
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 — YOW 2017 Brisbane
How does that impact your service?
Circuit breakers
Timeouts
Biz Logic
Timeouts
Telemetry
RPC code
Distributed state
Client-side
Service Discovery
Service
Platform
Biz Logic
Stability
Service
Platform
The Next Generation of Microservices — YOW 2017 Brisbane
Timeouts
Biz Logic
Stability
Service
Platform
Capacity Security Availability
Biz LogicService
Platform
Service Mesh
Allows our services to pretend some of those
are true
It’s not that these patterns 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 better with
metadata-rich protocols
It makes it even harder to fully replicate
production earlier in the development cycle
Coupled to the platform
Not everything will be part of the mesh,
i.e. the network still isn’t homogeneous
Leaky abstraction
Q&A

More Related Content

PDF
The Next Generation of Microservices
PDF
Ten Years of Failing Microservices
PDF
Introduction to Istio Service Mesh
PDF
APIdays Paris 2018 - API Management is Dead, Augusto Marietti, CEO and Co-Fou...
PDF
DevDay: Forma: Easily Deploy and Operate Hybrid and Multi-cloud Corda Network...
 
PDF
Microservices:
 The phantom menace
. Istio Service Mesh: 
the new hope
PPTX
Design and Evolution of APIs in Microservice Architecture
PPTX
From Microservices to Service Mesh - devcafe event - July 2018
The Next Generation of Microservices
Ten Years of Failing Microservices
Introduction to Istio Service Mesh
APIdays Paris 2018 - API Management is Dead, Augusto Marietti, CEO and Co-Fou...
DevDay: Forma: Easily Deploy and Operate Hybrid and Multi-cloud Corda Network...
 
Microservices:
 The phantom menace
. Istio Service Mesh: 
the new hope
Design and Evolution of APIs in Microservice Architecture
From Microservices to Service Mesh - devcafe event - July 2018

What's hot (20)

PDF
WebRTC Standards & Implementation Q&A - The Internals of WebRTC Browsers Impl...
PDF
WebRTC Standards & Implementation Q&A - Legacy API Support Changes
PPTX
O'Reilly 2017: "Introduction to Service Meshes"
PPTX
Microservices in GO lang
PDF
Microservice API Gateways with NGINX
PDF
Microservices with Spring Cloud
PPTX
Service Mesh for Microservices - Vietnam Mobile Day - June 2018
PDF
The Service Mesh: It's about Traffic
PPTX
Service mesh
PDF
Connectivity Is the Future
PDF
Microservices: The OSGi way A different vision on microservices
PDF
Service mesh with istio
PPTX
Bring Service Mesh To Cloud Native-apps
PPTX
Microservices With Istio Service Mesh
PDF
Hyperledger Fabric EVM Integration Feb 20, 2018
PDF
Excelian hyperledger fabric-feb17
PPTX
Microservices
PPTX
Standardizing Microservice Management With a Service Mesh
PPTX
CloudNativeLondon 2017: "What is a Service Mesh, and Do I Need One when Devel...
PPTX
Blockchain with HyperLedger (Public version)
WebRTC Standards & Implementation Q&A - The Internals of WebRTC Browsers Impl...
WebRTC Standards & Implementation Q&A - Legacy API Support Changes
O'Reilly 2017: "Introduction to Service Meshes"
Microservices in GO lang
Microservice API Gateways with NGINX
Microservices with Spring Cloud
Service Mesh for Microservices - Vietnam Mobile Day - June 2018
The Service Mesh: It's about Traffic
Service mesh
Connectivity Is the Future
Microservices: The OSGi way A different vision on microservices
Service mesh with istio
Bring Service Mesh To Cloud Native-apps
Microservices With Istio Service Mesh
Hyperledger Fabric EVM Integration Feb 20, 2018
Excelian hyperledger fabric-feb17
Microservices
Standardizing Microservice Management With a Service Mesh
CloudNativeLondon 2017: "What is a Service Mesh, and Do I Need One when Devel...
Blockchain with HyperLedger (Public version)
Ad

Similar to The Next Generation of Microservices — YOW 2017 Brisbane (20)

PPTX
PDF
What is a Service Mesh and what can it do for your Microservices
PDF
Netflix: From Zero to Production-Ready in Minutes (QCon 2017)
PDF
Azure tales: a real world CQRS and ES Deep Dive - Andrea Saltarello
PPTX
Low latency microservices in java QCon New York 2016
PDF
Blowing up the Monolith: Practical Advice on Microservices
PDF
Azure Microservices in Practice - Radu Vunvulea
PDF
How do Things talk? IoT Application Protocols 101
PDF
Managing microservices with istio on OpenShift - Meetup
PPTX
agile microservices @scaibo
PDF
Software Architecture Conference - Monitoring Microservices - A Challenge
PDF
Shedding Light on LINE Token Economy You Won't Find in Our White Paper
PPTX
Azure Microservices in Practice, Radu Vunvulea, ITCamp 2016
PDF
Big datadc skyfall_preso_v2
PDF
Make Java Microservices Resilient with Istio - Mangesh - IBM - CC18
PDF
Cloud Computing and Virtualisation
PPTX
A Blueprint for Cloud-Native Financial Institutions
PPTX
16370 cics project opening and project update f
PDF
Service Mesh @Lara Camp Myanmar - 02 Sep,2023
PPTX
New Design Patterns in Microservice Solutions
What is a Service Mesh and what can it do for your Microservices
Netflix: From Zero to Production-Ready in Minutes (QCon 2017)
Azure tales: a real world CQRS and ES Deep Dive - Andrea Saltarello
Low latency microservices in java QCon New York 2016
Blowing up the Monolith: Practical Advice on Microservices
Azure Microservices in Practice - Radu Vunvulea
How do Things talk? IoT Application Protocols 101
Managing microservices with istio on OpenShift - Meetup
agile microservices @scaibo
Software Architecture Conference - Monitoring Microservices - A Challenge
Shedding Light on LINE Token Economy You Won't Find in Our White Paper
Azure Microservices in Practice, Radu Vunvulea, ITCamp 2016
Big datadc skyfall_preso_v2
Make Java Microservices Resilient with Istio - Mangesh - IBM - CC18
Cloud Computing and Virtualisation
A Blueprint for Cloud-Native Financial Institutions
16370 cics project opening and project update f
Service Mesh @Lara Camp Myanmar - 02 Sep,2023
New Design Patterns in Microservice Solutions
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
The Economics of Microservices (redux)
PDF
From microservices to serverless - Chicago CTO Summit 2019
PDF
The Not-So-Straightforward Road From Microservices to Serverless
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
the afterparty: refactoring after 100x hypergrowth
don't try this at home: self-improvement as a senior leader
The Economics of Microservices (redux)
From microservices to serverless - Chicago CTO Summit 2019
The Not-So-Straightforward Road From Microservices to Serverless
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

Recently uploaded (20)

PPTX
Reimagine Home Health with the Power of Agentic AI​
PDF
Designing Intelligence for the Shop Floor.pdf
PDF
CapCut Video Editor 6.8.1 Crack for PC Latest Download (Fully Activated) 2025
PDF
AutoCAD Professional Crack 2025 With License Key
PDF
Autodesk AutoCAD Crack Free Download 2025
PDF
How AI/LLM recommend to you ? GDG meetup 16 Aug by Fariman Guliev
PDF
CCleaner Pro 6.38.11537 Crack Final Latest Version 2025
PPTX
Oracle Fusion HCM Cloud Demo for Beginners
PDF
Design an Analysis of Algorithms II-SECS-1021-03
PDF
iTop VPN 6.5.0 Crack + License Key 2025 (Premium Version)
DOCX
Greta — No-Code AI for Building Full-Stack Web & Mobile Apps
PDF
Design an Analysis of Algorithms I-SECS-1021-03
PDF
Wondershare Filmora 15 Crack With Activation Key [2025
PDF
iTop VPN Crack Latest Version Full Key 2025
PPTX
Embracing Complexity in Serverless! GOTO Serverless Bengaluru
PDF
Website Design Services for Small Businesses.pdf
PPTX
Advanced SystemCare Ultimate Crack + Portable (2025)
PDF
Cost to Outsource Software Development in 2025
PDF
Download FL Studio Crack Latest version 2025 ?
PPTX
Agentic AI Use Case- Contract Lifecycle Management (CLM).pptx
Reimagine Home Health with the Power of Agentic AI​
Designing Intelligence for the Shop Floor.pdf
CapCut Video Editor 6.8.1 Crack for PC Latest Download (Fully Activated) 2025
AutoCAD Professional Crack 2025 With License Key
Autodesk AutoCAD Crack Free Download 2025
How AI/LLM recommend to you ? GDG meetup 16 Aug by Fariman Guliev
CCleaner Pro 6.38.11537 Crack Final Latest Version 2025
Oracle Fusion HCM Cloud Demo for Beginners
Design an Analysis of Algorithms II-SECS-1021-03
iTop VPN 6.5.0 Crack + License Key 2025 (Premium Version)
Greta — No-Code AI for Building Full-Stack Web & Mobile Apps
Design an Analysis of Algorithms I-SECS-1021-03
Wondershare Filmora 15 Crack With Activation Key [2025
iTop VPN Crack Latest Version Full Key 2025
Embracing Complexity in Serverless! GOTO Serverless Bengaluru
Website Design Services for Small Businesses.pdf
Advanced SystemCare Ultimate Crack + Portable (2025)
Cost to Outsource Software Development in 2025
Download FL Studio Crack Latest version 2025 ?
Agentic AI Use Case- Contract Lifecycle Management (CLM).pptx

The Next Generation of Microservices — YOW 2017 Brisbane