SlideShare une entreprise Scribd logo
1  sur  59
Télécharger pour lire hors ligne
@alexsotob
SERVICE MESH PATTERNS
Alex Soto
@alexsotob
http://www.lordofthejars.com
@alexsotob2
Alex Soto
Red Hat Engineer
www.lordofthejars.com
@alexsotob
Who Am I?
@alexsotob
Raffle Rules (applicable in the real)
3
1. Follow: @alexsotob
2. With picture of the session
3. Mention @alexsotob
4. With hashtag #DevoxxUK
40% discount: ctwdevoxxuk19
@alexsotob4
Questions
@alexsotob5
@alexsotob6
MyApp
Monolith
@alexsotob7
Modules
@alexsotob8
Components
@alexsotob9
Microservices
@alexsotob10
Microservices
@alexsotob11
Microservices
@alexsotob12
Network of Services
@alexsotob13
Microservices Own Their Data
@alexsotob14
Multiple Points of Entry
@alexsotob15
Microservices == Distributed Computing
OS
JVM
Service A
OS
JVM
Service B
OS
JVM
Service C
@alexsotob16
It means no worries
(…)
It's our problem-free
philosophy
Hakuna Matata.
— Simba
“
@alexsotob17
▪ The network is reliable
▪ Latency is zero
▪ Bandwidth is infinite
▪ The network is secure
https://en.wikipedia.org/wiki/Fallacies_of_distributed_computing
▪ Topology does not change
▪ There is one administrator
▪ Transport cost is zero
▪ The network is homogeneous
Fallacies of Distributed Computing
@alexsotob18
Failure of a Service
@alexsotob19
Cascading Failure
@alexsotob20
Done properly
(Networking)
is a heroic art.
Done properly !
— Edna
“
@alexsotob21
Microservices’ilities
MyService
Monitoring
Tracing
API
Discovery
Invocation
Resilience
Pipeline
Authentication
Logging Elasticity
@alexsotob22
Hmmm. Really?
I’d say (water)
is half full.
— Dory
“
@alexsotob23
@alexsotob24
Microservices’ilities + OpenShift
MyService
Monitoring
Tracing
API
Discovery
Invocation
Resilience
Pipeline
Authentication
Logging Elasticity
@alexsotob25
Istio — ‘Sail’
(Kubernetes — the ‘Helmsman’)
@alexsotob26
But wow!
Am I so ready
for this change.
— Anna
“
@alexsotob27
Microservices’ilities + OpenShift + Istio
MyService
Monitoring
Tracing
API
Discovery
Invocation
Resilience
Pipeline
Authentication
Logging Elasticity
@alexsotob28
Container
JVM
Service B
Discovery
Load-balancer
Resiliency
Metrics
Tracing
Container
JVM
Service A
Discovery
Load-balancer
Resiliency
Metrics
Tracing
Container
JVM
Service C
Discovery
Load-balancer
Resiliency
Metrics
Tracing
Before Istio
Microservices Embedding Capabilities
@alexsotob29
Fairy tales can come true.
You gotta make them happen,
it all depends on you
— Tiana
“
@alexsotob30
Pod
Container
JVM
Service A
Sidecar Container
Pod
Container
JVM
Service C
Sidecar Container
After Istio
Pod
Container
JVM
Service B
Sidecar Container
Microservices Externalizing Capabilities
The sidecar intercepts all network traffic
@alexsotob31
@alexsotob32
@alexsotob33
@alexsotob34
@alexsotob35
This is the circle of sadness.
Your job is to make sure
that all sadness stays
inside of it.
— Joy
“
@alexsotob36
@alexsotob37
@alexsotob38
@alexsotob39
If I go there is just no telling
how far I’ll go.
— Moana
“
@alexsotob40
It's time to see
what I can do
To test the limits
and break through.
— Elsa
“
@alexsotob41
Put on your Sunday clothes
there's lots of world
out there.
— Wall-E
“
[http://bit.ly/istio-tutorial]
[http://bit.ly/istio-cheat-sheet]
[https://developers.redhat.com]
@alexsotob42
To infinity
and beyond!
— Buzz
“
@alexsotob43
Feature Graduation
@alexsotob44
@alexsotob45
Service A
Feature Graduation
Service B v1
Service B v2
user-preference:”123*”
Service B v3
user-preference:”12*”
experimental
beta
production
@alexsotob46
Service A
Feature Graduation
Service B v2
Service B v3
user-preference:”12*”
beta
production
Both experimental and beta levels
@alexsotob47
Secure Your Steps
@alexsotob48
Virtualizing test-cluster’s database in mirroring
Service A
Service B v1
Service B v2
Host:”serviceb-shadow”
Prod DB
Virtual DB
read
Throwaway
write
@alexsotob49
Regression-free versions (tap compare)
@alexsotob50
Diferencia
@alexsotob51
Simple Comparison
@alexsotob52
@alexsotob53
@alexsotob54
Kiali.io
New
Service
Graph
@alexsotob55
If you focus on
what you left behind
you will never be
able to see what lies ahead.
— Chef Auguste Gusteau
“
@alexsotob56
To live will be
an awfully
big adventure.
— Peter Pan
“
@alexsotob57
until serverless
@alexsotob58
Hay un amigo en mí,
cuando salgan a volar,
hay un amigo en mí
— Toy Story
“
@alexsotob
asotobue@redhat.com
http://www.lordofthejars.com/
lordofthejars
@alexsotob59
About Images
http://disney.wikia.com/wiki/File:TLK_Simba.png
http://disney.wikia.com/wiki/File:Tiana.12.png
http://insideout.wikia.com/wiki/File:FEAR_Fullbody_Render.png
http://disney.wikia.com/wiki/File:Judy_Hopps_Zootopia.png
https://mbtskoudsalg.com/explore/disney-up-png/#gal_post_3621_up-balloons-png.png
http://parody.wikia.com/wiki/File:Jiminy_cricket_disney.png
http://zootopia.wikia.com/wiki/File:Gideon_Adult_Transprent.png
http://lifeofheroesrp.wikia.com/wiki/File:Aladdin.png
http://disney.wikia.com/wiki/Captain_B._McCrea
http://pixar.wikia.com/wiki/Slim
http://pixar.wikia.com/wiki/Auguste_Gusteau
http://hero.wikia.com/wiki/File:Joy_(Inside_Out).png
http://www.stickpng.com/img/comics-and-fantasy/the-incredibles/edna-e-mode
https://www.kisspng.com/png-dory-nemo-palette-surgeonfish-disney-infinity-3-0-916908/
https://www.kisspng.com/png-frozen-olaf-s-quest-elsa-kristoff-anna-anna-frozen-825204/
https://www.kisspng.com/png-eve-wii-wallpaper-wall-e-png-photos-421264/
https://www.kisspng.com/png-rapunzel-free-png-image-63202/
https://www.kisspng.com/png-ratatouille-french-cuisine-film-animation-pixar-ra-631822/
https://www.kisspng.com/png-peter-pan-tinker-bell-wendy-darling-clip-art-fly-655477/
https://gallery.yopriceville.com/Free-Clipart-Pictures/Cartoons-PNG/Transparent_Snow_White_PNG_Clipart#.W_PigJNKgnU
https://www.kisspng.com/png-princess-jasmine-aladdin-genie-youtube-abu-aladdin-961044/
https://www.kisspng.com/png-a-bug-s-life-flik-youtube-film-streaming-media-bug-2538893/
https://www.kisspng.com/png-buzz-lightyear-jessie-toy-story-sheriff-woody-tim-103824/
https://www.kisspng.com/png-alice-s-adventures-in-wonderland-the-mad-hatter-wh-689107/
https://www.kisspng.com/png-russell-youtube-carl-fredricksen-pixar-film-ups-1441690/
https://www.clipartmax.com/middle/m2H7H7Z5m2i8G6G6_joy-upside-down-transparent-png-stickpng-inside-out-inside-out-characters-sadness/
https://clipart.info/elsa-frozen-disney-png-6355
http://www.pngall.com/ariel-png
CC 3
Not Commercial
Usage
Not Commercial
Usage
CC 4

Contenu connexe

Similaire à Service Mesh Patterns

Similaire à Service Mesh Patterns (20)

Sail in the cloud - An intro to Istio commit
Sail in the cloud - An intro to Istio commitSail in the cloud - An intro to Istio commit
Sail in the cloud - An intro to Istio commit
 
Istio Service Mesh & pragmatic microservices architecture
Istio Service Mesh & pragmatic microservices architectureIstio Service Mesh & pragmatic microservices architecture
Istio Service Mesh & pragmatic microservices architecture
 
From DevTestOops to DevTestOps
From DevTestOops to DevTestOpsFrom DevTestOops to DevTestOps
From DevTestOops to DevTestOps
 
Chaos Engineering Kubernetes
Chaos Engineering KubernetesChaos Engineering Kubernetes
Chaos Engineering Kubernetes
 
Long Live and Prosper To Monolith
Long Live and Prosper To MonolithLong Live and Prosper To Monolith
Long Live and Prosper To Monolith
 
Microservices testing and automation
Microservices testing and automationMicroservices testing and automation
Microservices testing and automation
 
What monolith can learn from microservices?
What monolith can learn from microservices?What monolith can learn from microservices?
What monolith can learn from microservices?
 
Live Long and Prosper to Monolith
Live Long and Prosper to MonolithLive Long and Prosper to Monolith
Live Long and Prosper to Monolith
 
KUBEBOOT - SPRING BOOT DEPLOYMENT ON KUBERNETES
KUBEBOOT - SPRING BOOT DEPLOYMENT ON KUBERNETESKUBEBOOT - SPRING BOOT DEPLOYMENT ON KUBERNETES
KUBEBOOT - SPRING BOOT DEPLOYMENT ON KUBERNETES
 
Blockchain By Code examples - Devoxx Poland 2018
Blockchain By Code examples - Devoxx Poland 2018Blockchain By Code examples - Devoxx Poland 2018
Blockchain By Code examples - Devoxx Poland 2018
 
KubeBoot - Spring Boot deployment on Kubernetes
KubeBoot - Spring Boot deployment on KubernetesKubeBoot - Spring Boot deployment on Kubernetes
KubeBoot - Spring Boot deployment on Kubernetes
 
Chaos Engineering Kubernetes
Chaos Engineering KubernetesChaos Engineering Kubernetes
Chaos Engineering Kubernetes
 
Oracle Code Javaday Sao Paulo Nowadays Architecture Trends, from Monolith to ...
Oracle Code Javaday Sao Paulo Nowadays Architecture Trends, from Monolith to ...Oracle Code Javaday Sao Paulo Nowadays Architecture Trends, from Monolith to ...
Oracle Code Javaday Sao Paulo Nowadays Architecture Trends, from Monolith to ...
 
Supersonic, Subatomic Java
Supersonic, Subatomic JavaSupersonic, Subatomic Java
Supersonic, Subatomic Java
 
Reactive Programming for Real Use Cases
Reactive Programming for Real Use CasesReactive Programming for Real Use Cases
Reactive Programming for Real Use Cases
 
Oracle Developer Tour Latam Nowadays Architecture Trends, from Monolith to Mi...
Oracle Developer Tour Latam Nowadays Architecture Trends, from Monolith to Mi...Oracle Developer Tour Latam Nowadays Architecture Trends, from Monolith to Mi...
Oracle Developer Tour Latam Nowadays Architecture Trends, from Monolith to Mi...
 
Deploy And Release at Kubernetes Era
Deploy And Release at Kubernetes EraDeploy And Release at Kubernetes Era
Deploy And Release at Kubernetes Era
 
Testing XXIst Century
Testing XXIst CenturyTesting XXIst Century
Testing XXIst Century
 
Testing in the 21st Century
Testing in the 21st CenturyTesting in the 21st Century
Testing in the 21st Century
 
Deploy With Confidence
Deploy With ConfidenceDeploy With Confidence
Deploy With Confidence
 

Plus de Alex Soto

Plus de Alex Soto (10)

Testing in Production: From DevTestOops to DevTestOps
Testing in Production: From DevTestOops to DevTestOpsTesting in Production: From DevTestOops to DevTestOps
Testing in Production: From DevTestOops to DevTestOps
 
Supersonic Subatomic Java
Supersonic Subatomic JavaSupersonic Subatomic Java
Supersonic Subatomic Java
 
Arquillian Constellation
Arquillian ConstellationArquillian Constellation
Arquillian Constellation
 
Testing for Unicorns
Testing for UnicornsTesting for Unicorns
Testing for Unicorns
 
Testing in the 21st Century (ExpoQA)
Testing in the 21st Century (ExpoQA)Testing in the 21st Century (ExpoQA)
Testing in the 21st Century (ExpoQA)
 
10 Testing libraries any Java developer should know
10 Testing libraries any Java developer should know10 Testing libraries any Java developer should know
10 Testing libraries any Java developer should know
 
Testing Java Microservices Workshop
Testing Java Microservices WorkshopTesting Java Microservices Workshop
Testing Java Microservices Workshop
 
TEST SMARTER AND GAIN SOME TIME BACK
TEST SMARTER AND GAIN SOME TIME BACKTEST SMARTER AND GAIN SOME TIME BACK
TEST SMARTER AND GAIN SOME TIME BACK
 
Sail In The Cloud
Sail In The CloudSail In The Cloud
Sail In The Cloud
 
Testing in the 21st Century
Testing in the 21st CenturyTesting in the 21st Century
Testing in the 21st Century
 

Dernier

Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 

Dernier (20)

WSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering Developers
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot ModelMcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
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
 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital Adaptability
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 

Service Mesh Patterns