SlideShare a Scribd company logo
Monitoring Microservices:
A ChallengeAdrian Cockcroft @adrianco
Technology Fellow - Battery Ventures
March 2015
What does @adrianco do?
@adrianco
Technology Due
Diligence on Deals
Presentations at
Conferences
Presentations at
Companies
Technical Advice
for Portfolio
Companies
Program
Committee for
Conferences
Networking with
Interesting PeopleTinkering with
Technologies
Maintain Deep
Relationship with
Cloud Vendors
What does @adrianco do?
@adrianco
Technology Due
Diligence on Deals
Presentations at
Conferences
Presentations at
Companies
Technical Advice
for Portfolio
Companies
Program
Committee for
Conferences
Networking with
Interesting PeopleTinkering with
Technologies
Maintain Deep
Relationship with
Cloud Vendors
What does @adrianco do?
@adrianco
Technology Due
Diligence on Deals
Presentations at
Conferences
Presentations at
Companies
Technical Advice
for Portfolio
Companies
Program
Committee for
Conferences
Networking with
Interesting PeopleTinkering with
Technologies
Maintain Deep
Relationship with
Cloud Vendors
What does @adrianco do?
@adrianco
Technology Due
Diligence on Deals
Presentations at
Conferences
Presentations at
Companies
Technical Advice
for Portfolio
Companies
Program
Committee for
Conferences
Networking with
Interesting PeopleTinkering with
Technologies
Maintain Deep
Relationship with
Cloud Vendors
What does @adrianco do?
@adrianco
Technology Due
Diligence on Deals
Presentations at
Conferences
Presentations at
Companies
Technical Advice
for Portfolio
Companies
Program
Committee for
Conferences
Networking with
Interesting PeopleTinkering with
Technologies
Maintain Deep
Relationship with
Cloud Vendors
Microservices
A Microservice Definition
!
Loosely coupled service oriented
architecture with bounded contexts
A Microservice Definition
!
Loosely coupled service oriented
architecture with bounded contexts
If every service has to be
updated at the same time
it’s not loosely coupled
A Microservice Definition
!
Loosely coupled service oriented
architecture with bounded contexts
If every service has to be
updated at the same time
it’s not loosely coupled
If you have to know too much about surrounding
services you don’t have a bounded context. See the
Domain Driven Design book by Eric Evans.
Speed
Speeding Up Deployments
Datacenter Snowflakes
• Deploy in months
• Live for years
Speeding Up Deployments
Datacenter Snowflakes
• Deploy in months
• Live for years
Virtualized and Cloud
• Deploy in minutes
• Live for weeks
Speeding Up Deployments
Datacenter Snowflakes
• Deploy in months
• Live for years
Virtualized and Cloud
• Deploy in minutes
• Live for weeks
Container Deployments
• Deploy in seconds
• Live for minutes/hours
Speeding Up Deployments
Datacenter Snowflakes
• Deploy in months
• Live for years
Virtualized and Cloud
• Deploy in minutes
• Live for weeks
Container Deployments
• Deploy in seconds
• Live for minutes/hours
AWS Lambda Events
• Respond in milliseconds
• Live for seconds
Speeding Up Deployments
Measuring CPU usage once a minute makes no sense for containers…
Coping with rate of change is the first challenge for monitoring tools.
Datacenter Snowflakes
• Deploy in months
• Live for years
Virtualized and Cloud
• Deploy in minutes
• Live for weeks
Container Deployments
• Deploy in seconds
• Live for minutes/hours
AWS Lambda Events
• Respond in milliseconds
• Live for seconds
Scale
A Possible Hierarchy
Continents
Regions
Zones
Services
Versions
Containers
Instances
How Many?
3 to 5
2-4 per Continent
1-5 per Region
100’s per Zone
Many per Service
1000’s per Version
10,000’s
It’s much more challenging
than just a large number of
machines
Flow
Some tools can show
the request flow
across a few services
But interesting
architectures have a
lot of microservices!
Flow visualization is
a challenge.
See http://www.slideshare.net/LappleApple/gilt-from-monolith-ruby-app-to-micro-service-scala-service-architecture
Failures
ELB Load Balancer
Zuul API Proxy
Karyon
Business
Logic
Staash Data
Access Layer
Priam Cassandra
Datastore
Simple NetflixOSS
style microservices
architecture on three
AWS Availability Zones
ELB Load Balancer
Zuul API Proxy
Karyon
Business
Logic
Staash Data
Access Layer
Priam Cassandra
Datastore
Simple NetflixOSS
style microservices
architecture on three
AWS Availability Zones
ELB Load Balancer
Zuul API Proxy
Karyon
Business
Logic
Staash Data
Access Layer
Priam Cassandra
Datastore
Simple NetflixOSS
style microservices
architecture on three
AWS Availability Zones
Zone partition/failure
What should you do?
What should monitors show?
ELB Load Balancer
Zuul API Proxy
Karyon
Business
Logic
Staash Data
Access Layer
Priam Cassandra
Datastore
Simple NetflixOSS
style microservices
architecture on three
AWS Availability Zones
Zone partition/failure
What should you do?
What should monitors show?
By design, everything works
with 2 of 3 zones running.
This is not an outage, inform
but don’t touch anything!
Halt deployments perhaps?
ELB Load Balancer
Zuul API Proxy
Karyon
Business
Logic
Staash Data
Access Layer
Priam Cassandra
Datastore
Simple NetflixOSS
style microservices
architecture on three
AWS Availability Zones
Zone partition/failure
What should you do?
What should monitors show?
By design, everything works
with 2 of 3 zones running.
This is not an outage, inform
but don’t touch anything!
Halt deployments perhaps?
Challenge: understand and
communicate common
microservice failure patterns.
Testing
Testing monitoring tools at scale
gets expensive quickly…
Simulation
Simulated Microservices
Model and visualize microservices
Simulate interesting architectures
Generate large scale configurations
Eventually stress test real tools
!
See github.com/adrianco/spigo
Simulate Protocol Interactions in Go
Visualize with D3
ELB Load Balancer
Zuul API Proxy
Karyon
Business
Logic
Staash
Data
Access
Layer
Priam Cassandra
Datastore
Three
Availability
Zones
Code for an architecture
Create(cname, "priamCassandra", Regions, priamCassandracount, cname)
Create(sqname, "store", Regions, mysqlcount, sqname)
Create(evname, "store", Regions, evcachecount)
Create(tname, "staash", Regions, staashcount, sqname, evname, cname)
Create(pname, "karyon", Regions, phpcount, tname)
Create(nname, "karyon", Regions, nodecount, tname)
Create(zuname, "zuul", Regions, zuulcount, pname, nname)
Create(elbname, "elb", Regions, 0, zuname)
Create(dns, "denominator", 0, 0, elbname)
My challenge to you:
Build your architecture in Spigo.
Stress monitoring tools with it.
Fix monitoring for microservices!
Office Hours Lunch: 12:15pm, Ballroom A
Disclosure: some of the companies mentioned may be Battery Ventures Portfolio Companies
See www.battery.com for a list of portfolio investments
● Microservices Challenges
● Speed and Scale
● Flow and Failures
● Testing and Simulation
!
● Battery Ventures http://www.battery.com
● Adrian’s Tweets @adrianco and Blog http://perfcap.blogspot.com
● Slideshare http://slideshare.com/adriancockcroft

More Related Content

What's hot (20)

PDF
Microxchg Analyzing Response Time Distributions for Microservices
Adrian Cockcroft
 
PDF
Microxchg Microservices
Adrian Cockcroft
 
PDF
What's Missing? Microservices Meetup at Cisco
Adrian Cockcroft
 
PDF
Microservices Application Tracing Standards and Simulators - Adrians at OSCON
Adrian Cockcroft
 
PPTX
From Monolith to Microservices – and Beyond!
Jules Pierre-Louis
 
PPTX
Epidemic Failures
Adrian Cockcroft
 
PDF
Evolution of Microservices - Craft Conference
Adrian Cockcroft
 
PDF
Cloud Native Cost Optimization UCC
Adrian Cockcroft
 
PDF
Cloud Native: Designing Change-tolerant Software
cornelia davis
 
PPTX
FLUX - Crash Course in Cloud 2.0
Mark Hinkle
 
PDF
Delivering with Microservices - How to Iterate Towards Sophistication
Thoughtworks
 
PDF
GameDay - Achieving resilience through Chaos Engineering
DiUS
 
PDF
Real-world Microservices: Lessons from the Front Line - Zhamak Delghani, Thou...
Thoughtworks
 
PDF
Cloud Native Computing: What does it mean, and is your app Cloud Native?
Michael O'Sullivan
 
PDF
Cloud-native Data
cornelia davis
 
PDF
Fully Orchestrating Applications, Microservices and Enterprise Services with ...
Docker, Inc.
 
PDF
Microservice Scars - Alt.net 2hr
Joshua Toth
 
PDF
Stability anti patterns in cloud-native applications
Ana-Maria Mihalceanu
 
PDF
Your Journey to Cloud-Native Begins with DevOps, Microservices, and Containers
Atlassian
 
PDF
Microservices for Mortals
Bert Ertman
 
Microxchg Analyzing Response Time Distributions for Microservices
Adrian Cockcroft
 
Microxchg Microservices
Adrian Cockcroft
 
What's Missing? Microservices Meetup at Cisco
Adrian Cockcroft
 
Microservices Application Tracing Standards and Simulators - Adrians at OSCON
Adrian Cockcroft
 
From Monolith to Microservices – and Beyond!
Jules Pierre-Louis
 
Epidemic Failures
Adrian Cockcroft
 
Evolution of Microservices - Craft Conference
Adrian Cockcroft
 
Cloud Native Cost Optimization UCC
Adrian Cockcroft
 
Cloud Native: Designing Change-tolerant Software
cornelia davis
 
FLUX - Crash Course in Cloud 2.0
Mark Hinkle
 
Delivering with Microservices - How to Iterate Towards Sophistication
Thoughtworks
 
GameDay - Achieving resilience through Chaos Engineering
DiUS
 
Real-world Microservices: Lessons from the Front Line - Zhamak Delghani, Thou...
Thoughtworks
 
Cloud Native Computing: What does it mean, and is your app Cloud Native?
Michael O'Sullivan
 
Cloud-native Data
cornelia davis
 
Fully Orchestrating Applications, Microservices and Enterprise Services with ...
Docker, Inc.
 
Microservice Scars - Alt.net 2hr
Joshua Toth
 
Stability anti patterns in cloud-native applications
Ana-Maria Mihalceanu
 
Your Journey to Cloud-Native Begins with DevOps, Microservices, and Containers
Atlassian
 
Microservices for Mortals
Bert Ertman
 

Viewers also liked (17)

PDF
Microservices Workshop All Topics Deck 2016
Adrian Cockcroft
 
PDF
Microservices: What's Missing - O'Reilly Software Architecture New York
Adrian Cockcroft
 
PDF
In Search of Segmentation
Adrian Cockcroft
 
PDF
Gluecon Monitoring Microservices and Containers: A Challenge
Adrian Cockcroft
 
PDF
When Developers Operate and Operators Develop
Adrian Cockcroft
 
PDF
Innovation and Architecture
Adrian Cockcroft
 
PDF
Microservices Workshop - Craft Conference
Adrian Cockcroft
 
PDF
Gophercon 2016 Communicating Sequential Goroutines
Adrian Cockcroft
 
PDF
Dockercon 2015 - Faster Cheaper Safer
Adrian Cockcroft
 
PDF
Microservices: Decomposing Applications for Deployability and Scalability (ja...
Chris Richardson
 
PPTX
Yow Conference Dec 2013 Netflix Workshop Slides with Notes
Adrian Cockcroft
 
PDF
Git in 5 minuti
Daniele Mondello
 
PDF
Monitoring microservices: Docker, Mesos and Kubernetes visibility at scale
Alessandro Gallotta
 
PDF
Scaling Gilt: from monolith ruby app to micro service scala service architecture
Gilt Tech Talks
 
PDF
Introduzione ai Microservices
Daniele Mondello
 
PDF
Implementazione di una soluzione a microservizi: benifici organizzativi ed ec...
italianaSoftware
 
PDF
Тошнит от колец великая битва систем мониторинга, часть I, Александр Чистяков...
Ontico
 
Microservices Workshop All Topics Deck 2016
Adrian Cockcroft
 
Microservices: What's Missing - O'Reilly Software Architecture New York
Adrian Cockcroft
 
In Search of Segmentation
Adrian Cockcroft
 
Gluecon Monitoring Microservices and Containers: A Challenge
Adrian Cockcroft
 
When Developers Operate and Operators Develop
Adrian Cockcroft
 
Innovation and Architecture
Adrian Cockcroft
 
Microservices Workshop - Craft Conference
Adrian Cockcroft
 
Gophercon 2016 Communicating Sequential Goroutines
Adrian Cockcroft
 
Dockercon 2015 - Faster Cheaper Safer
Adrian Cockcroft
 
Microservices: Decomposing Applications for Deployability and Scalability (ja...
Chris Richardson
 
Yow Conference Dec 2013 Netflix Workshop Slides with Notes
Adrian Cockcroft
 
Git in 5 minuti
Daniele Mondello
 
Monitoring microservices: Docker, Mesos and Kubernetes visibility at scale
Alessandro Gallotta
 
Scaling Gilt: from monolith ruby app to micro service scala service architecture
Gilt Tech Talks
 
Introduzione ai Microservices
Daniele Mondello
 
Implementazione di una soluzione a microservizi: benifici organizzativi ed ec...
italianaSoftware
 
Тошнит от колец великая битва систем мониторинга, часть I, Александр Чистяков...
Ontico
 
Ad

Similar to Software Architecture Conference - Monitoring Microservices - A Challenge (20)

PDF
Battery Ventures: Simulating and Visualizing Large Scale Cassandra Deployments
DataStax Academy
 
PDF
The Future of Cloud Innovation, featuring Adrian Cockcroft
Dun & Bradstreet Cloud Innovation Center
 
PDF
Microservices: State of the Union
C4Media
 
PPTX
agile microservices @scaibo
Ciro Donato Caiazzo
 
PDF
Amazon Web Services User Group Sydney - March 2018
PolarSeven Pty Ltd
 
PPTX
How to Optimize Your AWS Environment for Improved Cloud Performance
ThousandEyes
 
PPTX
CMG2013 Workshop: Netflix Cloud Native, Capacity, Performance and Cost Optimi...
Adrian Cockcroft
 
PPTX
Netflix Cloud Architecture and Open Source
aspyker
 
PPTX
AWS Summit - Trends in Advanced Monitoring for AWS environments
Andreas Grabner
 
PDF
AWS Summit - Atlanta
Sandy Carter
 
PPTX
Data Streaming with Apache Kafka & MongoDB
confluent
 
PPTX
Turkish Airlines' Journey on Cloud
Mustafa Ekrem KENTER
 
PDF
Building Data Intensity with AWS MSK & Lenses.io
Lenses.io
 
PPTX
11 Ways Microservices & Dynamic Clouds Break Your Monitoring
Abner Germanow
 
PDF
Stay productive while slicing up the monolith
Markus Eisele
 
PDF
AWS Summit Berlin 2013 - Keynote Werner Vogels
AWS Germany
 
PDF
Introduction to Istio Service Mesh
Georgios Andrianakis
 
PPTX
5 Years Of Building SaaS On AWS
Christian Beedgen
 
PDF
Stay productive while slicing up the monolith
Markus Eisele
 
PDF
#JaxLondon keynote: Developing applications with a microservice architecture
Chris Richardson
 
Battery Ventures: Simulating and Visualizing Large Scale Cassandra Deployments
DataStax Academy
 
The Future of Cloud Innovation, featuring Adrian Cockcroft
Dun & Bradstreet Cloud Innovation Center
 
Microservices: State of the Union
C4Media
 
agile microservices @scaibo
Ciro Donato Caiazzo
 
Amazon Web Services User Group Sydney - March 2018
PolarSeven Pty Ltd
 
How to Optimize Your AWS Environment for Improved Cloud Performance
ThousandEyes
 
CMG2013 Workshop: Netflix Cloud Native, Capacity, Performance and Cost Optimi...
Adrian Cockcroft
 
Netflix Cloud Architecture and Open Source
aspyker
 
AWS Summit - Trends in Advanced Monitoring for AWS environments
Andreas Grabner
 
AWS Summit - Atlanta
Sandy Carter
 
Data Streaming with Apache Kafka & MongoDB
confluent
 
Turkish Airlines' Journey on Cloud
Mustafa Ekrem KENTER
 
Building Data Intensity with AWS MSK & Lenses.io
Lenses.io
 
11 Ways Microservices & Dynamic Clouds Break Your Monitoring
Abner Germanow
 
Stay productive while slicing up the monolith
Markus Eisele
 
AWS Summit Berlin 2013 - Keynote Werner Vogels
AWS Germany
 
Introduction to Istio Service Mesh
Georgios Andrianakis
 
5 Years Of Building SaaS On AWS
Christian Beedgen
 
Stay productive while slicing up the monolith
Markus Eisele
 
#JaxLondon keynote: Developing applications with a microservice architecture
Chris Richardson
 
Ad

More from Adrian Cockcroft (6)

PDF
Dockercon State of the Art in Microservices
Adrian Cockcroft
 
PDF
Goto Berlin - Migrating to Microservices (Fast Delivery)
Adrian Cockcroft
 
PDF
Cloud Native Cost Optimization
Adrian Cockcroft
 
PPTX
Monitorama - Please, no more Minutes, Milliseconds, Monoliths or Monitoring T...
Adrian Cockcroft
 
PPTX
Disrupting the Storage Industry talk at SNIA Data Storage Innovation Conference
Adrian Cockcroft
 
PDF
Hack Kid Con - Learn to be a Data Scientist for $1
Adrian Cockcroft
 
Dockercon State of the Art in Microservices
Adrian Cockcroft
 
Goto Berlin - Migrating to Microservices (Fast Delivery)
Adrian Cockcroft
 
Cloud Native Cost Optimization
Adrian Cockcroft
 
Monitorama - Please, no more Minutes, Milliseconds, Monoliths or Monitoring T...
Adrian Cockcroft
 
Disrupting the Storage Industry talk at SNIA Data Storage Innovation Conference
Adrian Cockcroft
 
Hack Kid Con - Learn to be a Data Scientist for $1
Adrian Cockcroft
 

Recently uploaded (20)

PDF
Reverse Engineering of Security Products: Developing an Advanced Microsoft De...
nwbxhhcyjv
 
PDF
Transcript: Book industry state of the nation 2025 - Tech Forum 2025
BookNet Canada
 
PPTX
COMPARISON OF RASTER ANALYSIS TOOLS OF QGIS AND ARCGIS
Sharanya Sarkar
 
PDF
Agentic AI lifecycle for Enterprise Hyper-Automation
Debmalya Biswas
 
PDF
Automating Feature Enrichment and Station Creation in Natural Gas Utility Net...
Safe Software
 
PDF
UPDF - AI PDF Editor & Converter Key Features
DealFuel
 
PDF
[Newgen] NewgenONE Marvin Brochure 1.pdf
darshakparmar
 
PDF
Transforming Utility Networks: Large-scale Data Migrations with FME
Safe Software
 
PDF
Future-Proof or Fall Behind? 10 Tech Trends You Can’t Afford to Ignore in 2025
DIGITALCONFEX
 
PDF
“NPU IP Hardware Shaped Through Software and Use-case Analysis,” a Presentati...
Edge AI and Vision Alliance
 
PDF
Staying Human in a Machine- Accelerated World
Catalin Jora
 
PPTX
Seamless Tech Experiences Showcasing Cross-Platform App Design.pptx
presentifyai
 
PDF
“Computer Vision at Sea: Automated Fish Tracking for Sustainable Fishing,” a ...
Edge AI and Vision Alliance
 
DOCX
Cryptography Quiz: test your knowledge of this important security concept.
Rajni Bhardwaj Grover
 
PPT
Ericsson LTE presentation SEMINAR 2010.ppt
npat3
 
PDF
Book industry state of the nation 2025 - Tech Forum 2025
BookNet Canada
 
PDF
“Squinting Vision Pipelines: Detecting and Correcting Errors in Vision Models...
Edge AI and Vision Alliance
 
PPTX
Designing_the_Future_AI_Driven_Product_Experiences_Across_Devices.pptx
presentifyai
 
PDF
CIFDAQ Market Wrap for the week of 4th July 2025
CIFDAQ
 
PDF
How do you fast track Agentic automation use cases discovery?
DianaGray10
 
Reverse Engineering of Security Products: Developing an Advanced Microsoft De...
nwbxhhcyjv
 
Transcript: Book industry state of the nation 2025 - Tech Forum 2025
BookNet Canada
 
COMPARISON OF RASTER ANALYSIS TOOLS OF QGIS AND ARCGIS
Sharanya Sarkar
 
Agentic AI lifecycle for Enterprise Hyper-Automation
Debmalya Biswas
 
Automating Feature Enrichment and Station Creation in Natural Gas Utility Net...
Safe Software
 
UPDF - AI PDF Editor & Converter Key Features
DealFuel
 
[Newgen] NewgenONE Marvin Brochure 1.pdf
darshakparmar
 
Transforming Utility Networks: Large-scale Data Migrations with FME
Safe Software
 
Future-Proof or Fall Behind? 10 Tech Trends You Can’t Afford to Ignore in 2025
DIGITALCONFEX
 
“NPU IP Hardware Shaped Through Software and Use-case Analysis,” a Presentati...
Edge AI and Vision Alliance
 
Staying Human in a Machine- Accelerated World
Catalin Jora
 
Seamless Tech Experiences Showcasing Cross-Platform App Design.pptx
presentifyai
 
“Computer Vision at Sea: Automated Fish Tracking for Sustainable Fishing,” a ...
Edge AI and Vision Alliance
 
Cryptography Quiz: test your knowledge of this important security concept.
Rajni Bhardwaj Grover
 
Ericsson LTE presentation SEMINAR 2010.ppt
npat3
 
Book industry state of the nation 2025 - Tech Forum 2025
BookNet Canada
 
“Squinting Vision Pipelines: Detecting and Correcting Errors in Vision Models...
Edge AI and Vision Alliance
 
Designing_the_Future_AI_Driven_Product_Experiences_Across_Devices.pptx
presentifyai
 
CIFDAQ Market Wrap for the week of 4th July 2025
CIFDAQ
 
How do you fast track Agentic automation use cases discovery?
DianaGray10
 

Software Architecture Conference - Monitoring Microservices - A Challenge

  • 1. Monitoring Microservices: A ChallengeAdrian Cockcroft @adrianco Technology Fellow - Battery Ventures March 2015
  • 2. What does @adrianco do? @adrianco Technology Due Diligence on Deals Presentations at Conferences Presentations at Companies Technical Advice for Portfolio Companies Program Committee for Conferences Networking with Interesting PeopleTinkering with Technologies Maintain Deep Relationship with Cloud Vendors
  • 3. What does @adrianco do? @adrianco Technology Due Diligence on Deals Presentations at Conferences Presentations at Companies Technical Advice for Portfolio Companies Program Committee for Conferences Networking with Interesting PeopleTinkering with Technologies Maintain Deep Relationship with Cloud Vendors
  • 4. What does @adrianco do? @adrianco Technology Due Diligence on Deals Presentations at Conferences Presentations at Companies Technical Advice for Portfolio Companies Program Committee for Conferences Networking with Interesting PeopleTinkering with Technologies Maintain Deep Relationship with Cloud Vendors
  • 5. What does @adrianco do? @adrianco Technology Due Diligence on Deals Presentations at Conferences Presentations at Companies Technical Advice for Portfolio Companies Program Committee for Conferences Networking with Interesting PeopleTinkering with Technologies Maintain Deep Relationship with Cloud Vendors
  • 6. What does @adrianco do? @adrianco Technology Due Diligence on Deals Presentations at Conferences Presentations at Companies Technical Advice for Portfolio Companies Program Committee for Conferences Networking with Interesting PeopleTinkering with Technologies Maintain Deep Relationship with Cloud Vendors
  • 8. A Microservice Definition ! Loosely coupled service oriented architecture with bounded contexts
  • 9. A Microservice Definition ! Loosely coupled service oriented architecture with bounded contexts If every service has to be updated at the same time it’s not loosely coupled
  • 10. A Microservice Definition ! Loosely coupled service oriented architecture with bounded contexts If every service has to be updated at the same time it’s not loosely coupled If you have to know too much about surrounding services you don’t have a bounded context. See the Domain Driven Design book by Eric Evans.
  • 11. Speed
  • 12. Speeding Up Deployments Datacenter Snowflakes • Deploy in months • Live for years
  • 13. Speeding Up Deployments Datacenter Snowflakes • Deploy in months • Live for years Virtualized and Cloud • Deploy in minutes • Live for weeks
  • 14. Speeding Up Deployments Datacenter Snowflakes • Deploy in months • Live for years Virtualized and Cloud • Deploy in minutes • Live for weeks Container Deployments • Deploy in seconds • Live for minutes/hours
  • 15. Speeding Up Deployments Datacenter Snowflakes • Deploy in months • Live for years Virtualized and Cloud • Deploy in minutes • Live for weeks Container Deployments • Deploy in seconds • Live for minutes/hours AWS Lambda Events • Respond in milliseconds • Live for seconds
  • 16. Speeding Up Deployments Measuring CPU usage once a minute makes no sense for containers… Coping with rate of change is the first challenge for monitoring tools. Datacenter Snowflakes • Deploy in months • Live for years Virtualized and Cloud • Deploy in minutes • Live for weeks Container Deployments • Deploy in seconds • Live for minutes/hours AWS Lambda Events • Respond in milliseconds • Live for seconds
  • 17. Scale
  • 18. A Possible Hierarchy Continents Regions Zones Services Versions Containers Instances How Many? 3 to 5 2-4 per Continent 1-5 per Region 100’s per Zone Many per Service 1000’s per Version 10,000’s It’s much more challenging than just a large number of machines
  • 19. Flow
  • 20. Some tools can show the request flow across a few services
  • 21. But interesting architectures have a lot of microservices! Flow visualization is a challenge. See http://www.slideshare.net/LappleApple/gilt-from-monolith-ruby-app-to-micro-service-scala-service-architecture
  • 23. ELB Load Balancer Zuul API Proxy Karyon Business Logic Staash Data Access Layer Priam Cassandra Datastore Simple NetflixOSS style microservices architecture on three AWS Availability Zones
  • 24. ELB Load Balancer Zuul API Proxy Karyon Business Logic Staash Data Access Layer Priam Cassandra Datastore Simple NetflixOSS style microservices architecture on three AWS Availability Zones
  • 25. ELB Load Balancer Zuul API Proxy Karyon Business Logic Staash Data Access Layer Priam Cassandra Datastore Simple NetflixOSS style microservices architecture on three AWS Availability Zones Zone partition/failure What should you do? What should monitors show?
  • 26. ELB Load Balancer Zuul API Proxy Karyon Business Logic Staash Data Access Layer Priam Cassandra Datastore Simple NetflixOSS style microservices architecture on three AWS Availability Zones Zone partition/failure What should you do? What should monitors show? By design, everything works with 2 of 3 zones running. This is not an outage, inform but don’t touch anything! Halt deployments perhaps?
  • 27. ELB Load Balancer Zuul API Proxy Karyon Business Logic Staash Data Access Layer Priam Cassandra Datastore Simple NetflixOSS style microservices architecture on three AWS Availability Zones Zone partition/failure What should you do? What should monitors show? By design, everything works with 2 of 3 zones running. This is not an outage, inform but don’t touch anything! Halt deployments perhaps? Challenge: understand and communicate common microservice failure patterns.
  • 29. Testing monitoring tools at scale gets expensive quickly…
  • 31. Simulated Microservices Model and visualize microservices Simulate interesting architectures Generate large scale configurations Eventually stress test real tools ! See github.com/adrianco/spigo Simulate Protocol Interactions in Go Visualize with D3 ELB Load Balancer Zuul API Proxy Karyon Business Logic Staash Data Access Layer Priam Cassandra Datastore Three Availability Zones
  • 32. Code for an architecture Create(cname, "priamCassandra", Regions, priamCassandracount, cname) Create(sqname, "store", Regions, mysqlcount, sqname) Create(evname, "store", Regions, evcachecount) Create(tname, "staash", Regions, staashcount, sqname, evname, cname) Create(pname, "karyon", Regions, phpcount, tname) Create(nname, "karyon", Regions, nodecount, tname) Create(zuname, "zuul", Regions, zuulcount, pname, nname) Create(elbname, "elb", Regions, 0, zuname) Create(dns, "denominator", 0, 0, elbname)
  • 33. My challenge to you: Build your architecture in Spigo. Stress monitoring tools with it. Fix monitoring for microservices!
  • 34. Office Hours Lunch: 12:15pm, Ballroom A Disclosure: some of the companies mentioned may be Battery Ventures Portfolio Companies See www.battery.com for a list of portfolio investments ● Microservices Challenges ● Speed and Scale ● Flow and Failures ● Testing and Simulation ! ● Battery Ventures http://www.battery.com ● Adrian’s Tweets @adrianco and Blog http://perfcap.blogspot.com ● Slideshare http://slideshare.com/adriancockcroft