SlideShare a Scribd company logo
Microservices Minus the Hype
How to Build and Why
Mark Heckler
Principal Technologist/Developer Advocate
Pivotal Software, Inc.
www.thehecklers.org
mark@thehecklers.org
@MkHeck
@MkHeck #microservices @ThatConference
Who am I?
• Author
• Speaker
• DEVELOPER
• Survivor of many monoliths
• Seeker of a better way
• Java Champion
@MkHeck #microservices @ThatConference
The Goal: This
@MkHeck #microservices @ThatConference
The Goal: Not This
@MkHeck #microservices @ThatConference
The Goal: This
@MkHeck #microservices @ThatConference
The Goal: Not This
@MkHeck #microservices @ThatConference
THE Goal
Velocity
Alternative(s)
Monoliths
That’s one big app!
@MkHeck #microservices @ThatConference
Characteristics
• Single logical executable
• Shared data across functionality
• Control flow change impossible
• Non-granular app modification
• Non-granular scaling
• Attachment to language, platform
• Low cohesion, high coupling
• Failure of part == failure of whole*
• Mental model “complete” for smaller
systems
Microservices
Assemble to make
“more than meets the eye”
@MkHeck #microservices @ThatConference
Characteristics
• Independently deployable & executable
• Focused services
• Control flow changes trivial
• Non-disruptive change
• Effective & efficient scaling
• Polyglot “Plus”
• High cohesion, low coupling
• Failure is isolated
• Manageable mental model
WAIT!
Isn’t this just warmed-over SOA?
No
@MkHeck #microservices @ThatConference
SOA vs. Microservices
• Conceptually similar
• Implementation draws clear distinction
“…the microservice style is very similar to what some advocates of SOA
have been in favor of. The problem, however, is that SOA means too many
different things, and that most of the time that we come across
something called ‘SOA’ it’s significantly different to the style we’re
describing here, usually due to a focus on ESBs used to integrate
monolithic applications.
…
This common manifestation of SOA has led some microservice advocates
to reject the SOA label entirely, although others consider microservices to
be one form of SOA, perhaps service orientation done right. Either way,
the fact that SOA means such different things means it’s valuable to have
a term that more crisply defines this architectural style.”
Martin Fowler, “Microservices and SOA”
“Microservices is an evolution of SOA concepts that can provide additional
benefits to adopting organizations. The benefit of Microservices over
‘traditional’ SOA is speed and agility for making changes, and the ability to
make changes with less overall cost and less impact on the existing
infrastructure. Microservices involves a different approach, as well as
some different uses of technology.”
“The Great Debate: Microservices vs SOA”
@MkHeck #microservices @ThatConference
• Dumb endpoints, smart pipes • Smart endpoints, dumb pipes
SOA vs. Microservices
• MACROservices
• Heavier: SOAP + XML
• More coupled ceremony
• This makes it much more difficult to
scale
• More focused (but more of them)
• Lighter: REST, XML or JSON
• Low ceremony, low coupling
• Built to scale
SOA Microservices
• Orchestrated • Choreographed
Microservice Gains/Losses
@MkHeck #microservices @ThatConference
Microservices Architecture Gains
• Scalability
• Efficiency
• Effectiveness
• Velocity
• Optimization
• Availability
• Independence
• Cost savings
• Increased revenue
• Interoperability
• Less complexity*
• Control
@MkHeck #microservices @ThatConference
Microservices Architecture Losses
• Greater complexity (macro level)
• Better architects needed
• Single data repository for organization
• Change…seriously
• Greater complexity - it bears repeating
@MkHeck #microservices @ThatConference
The Play-DohTM Principle Applies
Microservices
@MkHeck #microservices @ThatConference
The Play-DohTM Principle Applies
Monolith
@MkHeck #microservices @ThatConference
The Play-DohTM Principle Applies
It's always easier to combine small, self-contained code or data than
it is to decouple code or to parse data.
What Do I Need to Execute?
@MkHeck #microservices @ThatConference
Microservices: An Example
@MkHeck #microservices @ThatConference
Config Service
@MkHeck #microservices @ThatConference
Service Discovery
@MkHeck #microservices @ThatConference
Client-side Load Balancer
@MkHeck #microservices @ThatConference
Intelligent Router
@MkHeck #microservices @ThatConference
Circuit Breaker
@MkHeck #microservices @ThatConference
Circuit Breaker Dashboard
@MkHeck #microservices @ThatConference
DEMO!
Microservices Minus The Hype
Microservices Minus The Hype
@MkHeck #microservices @ThatConference
@MkHeck #microservices @ThatConference
Thank You for Participating!
• Helpful Links
• 12 Factor apps: 12factor.net
• Spring Initializr: start.spring.io
• Cloud Foundry: cloudfoundry.org
• Pivotal Web Services: run.pivotal.io
• Example projects: https://github.com/hecklerm
Keep the discussion going on
Twitter!
@MkHeck

More Related Content

PDF
This stuff is cool, but...HOW CAN I GET MY COMPANY TO DO IT?
PDF
Microservices Minus the Hype: How to Build and Why
PDF
Living on the Edge (Service): Bundling Microservices to Optimize Consumption ...
PDF
Building Resilient Microservices
PPTX
Intro Istio and what's new Istio 1.1
PPTX
Communication in a Microservice Architecture
PPTX
Building Highly Scalable Apps On Bluemix
PPTX
KubeCon NA 2018: Evolution of Integration and Microservices with Service Mesh...
This stuff is cool, but...HOW CAN I GET MY COMPANY TO DO IT?
Microservices Minus the Hype: How to Build and Why
Living on the Edge (Service): Bundling Microservices to Optimize Consumption ...
Building Resilient Microservices
Intro Istio and what's new Istio 1.1
Communication in a Microservice Architecture
Building Highly Scalable Apps On Bluemix
KubeCon NA 2018: Evolution of Integration and Microservices with Service Mesh...

What's hot (13)

PDF
Efficient alternative for expensive microsoft project server
PPTX
API Gateways are going through an identity crisis
PPTX
Service fabric demo
PDF
Introduction to Versioning (VCS) for Developers
PPTX
Grokking microservices in 5 minutes
PPTX
Communication in a Microservice Architecture (Ljubljana Backend Meetup 2021)
PPTX
BizBook365 : A microservice approach
PDF
Effective Akka v2
PPTX
Growing an API Culture - APIdays LIVE AU 2020
PDF
Event Carried State Transfer @ LeanIX
PPTX
Multi touch attribution
PPTX
Splitting up your problem into microservices
PDF
Events in a microservices architecture
Efficient alternative for expensive microsoft project server
API Gateways are going through an identity crisis
Service fabric demo
Introduction to Versioning (VCS) for Developers
Grokking microservices in 5 minutes
Communication in a Microservice Architecture (Ljubljana Backend Meetup 2021)
BizBook365 : A microservice approach
Effective Akka v2
Growing an API Culture - APIdays LIVE AU 2020
Event Carried State Transfer @ LeanIX
Multi touch attribution
Splitting up your problem into microservices
Events in a microservices architecture
Ad

Viewers also liked (11)

PDF
The Seven Righteous Fights
PDF
Protect your Users with Circuit breakers
PDF
Les nouveautés d'HTML 5
PPTX
Microservices architecture
PPTX
Designing irresistible APIs
ODP
Building interactivity with websockets
PDF
Cloud Native Java with Spring Cloud Services
PDF
Clouds & Containers: Hit the High Points and Give it to Me Straight, What's t...
PPTX
Containerless in the Cloud with AWS Lambda
PPTX
Building responsive application with Rx - confoo - tamir dresher
PDF
Securing MicroServices - ConFoo 2017
The Seven Righteous Fights
Protect your Users with Circuit breakers
Les nouveautés d'HTML 5
Microservices architecture
Designing irresistible APIs
Building interactivity with websockets
Cloud Native Java with Spring Cloud Services
Clouds & Containers: Hit the High Points and Give it to Me Straight, What's t...
Containerless in the Cloud with AWS Lambda
Building responsive application with Rx - confoo - tamir dresher
Securing MicroServices - ConFoo 2017
Ad

Similar to Microservices Minus The Hype (20)

PDF
Microservices Minus the Hype
PDF
Microservices Minus the Hype
PPT
Merging microservices architecture with SOA practices
PPTX
Introduction To Microservices
PDF
Introduction to Microservices Architecture - SECCOMP 2020
PDF
Microservices and SOA
PPTX
PDF
Building microservices on azure
PDF
Microservices: cosa sono e quando non usarli
PDF
Merging micrservices architecture with SOA Practices
PDF
Microservices (en)
PDF
Microservices architecture enterprise architecture
PDF
Microservices to Scale using Azure Service Fabric
PDF
What are the Advantages and Disadvantages of Microservices?
PPTX
Microservice intro
PPTX
Architecting for speed: How agile innovators accelerate growth through micros...
PPTX
Architecting for speed - how agile innovators accelerate growth through micro...
PDF
Microservices: Where do they fit within a rapidly evolving integration archit...
PDF
170215 msa intro
PDF
A Guide on What Are Microservices: Pros, Cons, Use Cases, and More
Microservices Minus the Hype
Microservices Minus the Hype
Merging microservices architecture with SOA practices
Introduction To Microservices
Introduction to Microservices Architecture - SECCOMP 2020
Microservices and SOA
Building microservices on azure
Microservices: cosa sono e quando non usarli
Merging micrservices architecture with SOA Practices
Microservices (en)
Microservices architecture enterprise architecture
Microservices to Scale using Azure Service Fabric
What are the Advantages and Disadvantages of Microservices?
Microservice intro
Architecting for speed: How agile innovators accelerate growth through micros...
Architecting for speed - how agile innovators accelerate growth through micro...
Microservices: Where do they fit within a rapidly evolving integration archit...
170215 msa intro
A Guide on What Are Microservices: Pros, Cons, Use Cases, and More

More from Mark Heckler (13)

PDF
This stuff is cool, but...HOW CAN I GET MY COMPANY TO DO IT?
PDF
Going Reactive with Spring 5 & Project Reactor
PDF
Clouds & Containers: Hit the High Points and Give it to Me Straight, What's t...
PDF
This stuff is cool, but...HOW CAN I GET MY COMPANY TO DO IT?
PDF
IoT in the Cloud: Build & Unleash the Value in your Renewable Energy System
PDF
This stuff is cool, but HOW CAN I GET MY COMPANY TO DO IT? Businessing the S*...
PDF
Living on the Edge (Service): Bundling Microservices to Optimize Consumption ...
PDF
IoT in the Cloud: Build and Unleash the Value in your Renewable Energy System
PDF
Developing for Pebble: Control cloud apps from your wrist
PDF
Moving Renewable Energy Embedded Systems into the Cloud
PDF
IoT to Cloud the DevOps Way
PDF
DevOps Beyond the Buzzwords: What it Means to Embrace the DevOps Lifestyle
PDF
DevOps Beyond the Buzzwords: Culture, Tools, & Straight Talk
This stuff is cool, but...HOW CAN I GET MY COMPANY TO DO IT?
Going Reactive with Spring 5 & Project Reactor
Clouds & Containers: Hit the High Points and Give it to Me Straight, What's t...
This stuff is cool, but...HOW CAN I GET MY COMPANY TO DO IT?
IoT in the Cloud: Build & Unleash the Value in your Renewable Energy System
This stuff is cool, but HOW CAN I GET MY COMPANY TO DO IT? Businessing the S*...
Living on the Edge (Service): Bundling Microservices to Optimize Consumption ...
IoT in the Cloud: Build and Unleash the Value in your Renewable Energy System
Developing for Pebble: Control cloud apps from your wrist
Moving Renewable Energy Embedded Systems into the Cloud
IoT to Cloud the DevOps Way
DevOps Beyond the Buzzwords: What it Means to Embrace the DevOps Lifestyle
DevOps Beyond the Buzzwords: Culture, Tools, & Straight Talk

Recently uploaded (20)

PDF
Internet Downloader Manager (IDM) Crack 6.42 Build 41
PDF
Upgrade and Innovation Strategies for SAP ERP Customers
PPTX
L1 - Introduction to python Backend.pptx
PDF
2025 Textile ERP Trends: SAP, Odoo & Oracle
PPTX
Online Work Permit System for Fast Permit Processing
PPTX
CHAPTER 2 - PM Management and IT Context
PDF
Understanding Forklifts - TECH EHS Solution
PDF
T3DD25 TYPO3 Content Blocks - Deep Dive by André Kraus
PDF
Adobe Illustrator 28.6 Crack My Vision of Vector Design
PDF
System and Network Administraation Chapter 3
PPTX
ISO 45001 Occupational Health and Safety Management System
PDF
Which alternative to Crystal Reports is best for small or large businesses.pdf
PPTX
ai tools demonstartion for schools and inter college
PPTX
CHAPTER 12 - CYBER SECURITY AND FUTURE SKILLS (1) (1).pptx
PDF
How Creative Agencies Leverage Project Management Software.pdf
PPTX
Oracle E-Business Suite: A Comprehensive Guide for Modern Enterprises
PPTX
VVF-Customer-Presentation2025-Ver1.9.pptx
PPTX
Transform Your Business with a Software ERP System
PDF
SAP S4 Hana Brochure 3 (PTS SYSTEMS AND SOLUTIONS)
PPTX
Lecture 3: Operating Systems Introduction to Computer Hardware Systems
Internet Downloader Manager (IDM) Crack 6.42 Build 41
Upgrade and Innovation Strategies for SAP ERP Customers
L1 - Introduction to python Backend.pptx
2025 Textile ERP Trends: SAP, Odoo & Oracle
Online Work Permit System for Fast Permit Processing
CHAPTER 2 - PM Management and IT Context
Understanding Forklifts - TECH EHS Solution
T3DD25 TYPO3 Content Blocks - Deep Dive by André Kraus
Adobe Illustrator 28.6 Crack My Vision of Vector Design
System and Network Administraation Chapter 3
ISO 45001 Occupational Health and Safety Management System
Which alternative to Crystal Reports is best for small or large businesses.pdf
ai tools demonstartion for schools and inter college
CHAPTER 12 - CYBER SECURITY AND FUTURE SKILLS (1) (1).pptx
How Creative Agencies Leverage Project Management Software.pdf
Oracle E-Business Suite: A Comprehensive Guide for Modern Enterprises
VVF-Customer-Presentation2025-Ver1.9.pptx
Transform Your Business with a Software ERP System
SAP S4 Hana Brochure 3 (PTS SYSTEMS AND SOLUTIONS)
Lecture 3: Operating Systems Introduction to Computer Hardware Systems

Microservices Minus The Hype