SlideShare a Scribd company logo
Do you need microservices architecture?
Manu PK
@manupk12
http://www.blog.manupk.com
Software Architects Bangalore Meetup; 16 April 2016
About Me
 Software Architect @ Schneider Electric
 Blogs @ http://www.blog.manupk.com
 Twitter : @manupk12
Agenda
 What is microservices architecture
 The need
 Characteristics
 Examples
 Microservices architecture – The not-so-good parts
 Limitations
 Trade-Offs
 Starting with a modular monolith
 Don’t start with microservices if you are not sure about
the future
 Modularity is the key
 Transforming a modular monolith to microservices
Microservices architecture – The Need
 What we have now – Monolith!
 A single packaged deployment for all of the application
 Complexity in
 Functionality
 Scaling
 Fault Tolerance
 Convoys Law
 Governance
 “The growing demand for agility, flexibility, and scalability to meet rapidly
evolving business needs creates a strong need for a faster and more
efficient delivery of software” - Arun Gupta
Microservices architecture
 Approach to developing a single application as a
suite of small set of collaborating services.
Microservices architecture - Example
Microservices architecture - Characteristics
 Organized around Business Capabilities
 Smart endpoints and dumb pipes
 Independent Governance
 Independent Technical Stack
 Independent Deployment
 Improved fault isolation
 Eventual Consistency for Data
 Consumer first interfaces
Microservices architecture - Limitations
 Significant Operations Overhead
 Implicit Interfaces
 Distributed System Complexity
 Additional tools for Service Registration and Service
Discovery - Zookeeper, Doozer, Etcd, Eureka
 DevOps Tool Set
Distributed systems
=> High level of Automation
=> Need to depend on more tools
=> Need to have good DevOps skills in the team
Microservices architecture – Trade-Offs
 Source: http://martinfowler.com/bliki/MicroservicePremium.html
Modularity is the key
 Can you build a modular monolith..?
 Source: http://blog.manupk.com/2013/04/package-your-classes-by-feature-
and-not.html
Modularity is the key
Ref: http://blog.8thlight.com/uncle-bob/2012/08/13/the-clean-architecture.html
Do you need microservices architecture
 The “Hype” Cycle
 Microservices is not a solution to modularity
problems
 Don’t start with microservices if you are not sure
about the future evolutions
 Use the “Bounded context” concept in the Eric
Evan’s Domain Driven Design
Summary : Answer these before you choose
 Does your services represents different business
cases/domains..?
 Does the services needs to be deployed and
managed independently..?
 Does different parts of the application has different
scaling/Technology needs..?
Questions / Comments /
Feedback
@manupk12| manu.pk@outlook.com
Slides @
http://www.slideshare.net/pkmanu
References
 http://martinfowler.com/microservices/#when
 http://microservices.io/patterns/microservices.html
 http://highscalability.com/blog/2014/4/8/microservices-not-a-free-lunch.html
 http://martinfowler.com/articles/microservice-trade-offs.html
 http://blog.arungupta.me/microservices-monoliths-noops/
 http://blog.manupk.com/2013/04/package-your-classes-by-feature-and-
not.html
 http://martinfowler.com/bliki/MicroservicePremium.html
 http://samnewman.io/talks/principles-of-microservices/
 http://blog.cleancoder.com/uncle-
bob/2014/10/01/CleanMicroserviceArchitecture.html
Thank You
for Listening

More Related Content

PDF
Practical communication strategies for software architects
PDF
When to stay with modular monoliths over microservices
PDF
Introduction to Microservices
PPTX
Microservices: A Gentle Introduction
PDF
Introduction to Microservices
PDF
Microservices Training | Microservices Docker Example | Microservices Tutoria...
PPTX
Benefits of Containers, Microservices and Containerized Microservices
PPTX
apidays LIVE New York 2021 - Supercharge microservices with Service Mesh by S...
Practical communication strategies for software architects
When to stay with modular monoliths over microservices
Introduction to Microservices
Microservices: A Gentle Introduction
Introduction to Microservices
Microservices Training | Microservices Docker Example | Microservices Tutoria...
Benefits of Containers, Microservices and Containerized Microservices
apidays LIVE New York 2021 - Supercharge microservices with Service Mesh by S...

What's hot (20)

PDF
What are Microservices | Microservices Architecture Training | Microservices ...
PDF
Microservices Interview Questions and Answers | Microservices Architecture Tr...
PPTX
AppDev with Microservices
PDF
What's New In Entando 6 (And How It Helps Your Business)
PPTX
DevOpsDays AZ'2020 Scaling with Microservices
PDF
5 Key Steps To Implementing Micro Frontends On Kubernetes
PDF
Micro Frontend Platforms for Kubernetes
DOCX
Micro services vs Monolith Architecture
PPTX
Microservices in Action
PDF
Managing the Complexity of Microservices Deployments
PDF
Agile Tour Pune 2015: Agility with Microservices and Devops: Archana Joshi an...
PPTX
Building Highly Scalable Apps On Bluemix
PDF
Php Frameworks
PDF
Microservice architecture
PDF
Creating and Managing Technical Content for Open Source Products
PPTX
The Agile Roots of Microservices
PPTX
apidays LIVE Singapore 2021 - Protecting the API ecosystem by Omaru Maruatona...
PDF
Microservice Architecture
PDF
Top 10 Reasons to Learn Microservices | Microservices Tutorial | Microservice...
PDF
Cell-based Architecture: OReilly Software Architecture Conference NY 2019
What are Microservices | Microservices Architecture Training | Microservices ...
Microservices Interview Questions and Answers | Microservices Architecture Tr...
AppDev with Microservices
What's New In Entando 6 (And How It Helps Your Business)
DevOpsDays AZ'2020 Scaling with Microservices
5 Key Steps To Implementing Micro Frontends On Kubernetes
Micro Frontend Platforms for Kubernetes
Micro services vs Monolith Architecture
Microservices in Action
Managing the Complexity of Microservices Deployments
Agile Tour Pune 2015: Agility with Microservices and Devops: Archana Joshi an...
Building Highly Scalable Apps On Bluemix
Php Frameworks
Microservice architecture
Creating and Managing Technical Content for Open Source Products
The Agile Roots of Microservices
apidays LIVE Singapore 2021 - Protecting the API ecosystem by Omaru Maruatona...
Microservice Architecture
Top 10 Reasons to Learn Microservices | Microservices Tutorial | Microservice...
Cell-based Architecture: OReilly Software Architecture Conference NY 2019
Ad

Viewers also liked (20)

PDF
The story of SonarQube told to a DevOps Engineer
PDF
Punch clock for debugging apache storm
PDF
a wild Supposition: can MySQL be Kafka ?
PDF
Build your own Real Time Analytics and Visualization, Enable Complex Event Pr...
PPTX
SOLID principles
PDF
Demystifying datastores
PDF
Migration tales from java ee 5 to 7
PDF
Visualising Basic Concepts of Docker
PDF
XConf Coimbatore 2016 - Microservices Demystified
PDF
Spring IO '15 - Developing microservices, Spring Boot or Grails?
PDF
Let's Go: Introduction to Google's Go Programming Language
PPTX
NATS for Modern Messaging and Microservices
PPTX
Importance of Multimedia
PDF
Principles of microservices XP Days Ukraine
PDF
Microservice Architecture
PDF
Software Design in Practice (with Java examples)
PDF
Microservices with Spring Boot
PPTX
Importance of multimedia
PDF
Microservices with Java, Spring Boot and Spring Cloud
PDF
Microservice With Spring Boot and Spring Cloud
The story of SonarQube told to a DevOps Engineer
Punch clock for debugging apache storm
a wild Supposition: can MySQL be Kafka ?
Build your own Real Time Analytics and Visualization, Enable Complex Event Pr...
SOLID principles
Demystifying datastores
Migration tales from java ee 5 to 7
Visualising Basic Concepts of Docker
XConf Coimbatore 2016 - Microservices Demystified
Spring IO '15 - Developing microservices, Spring Boot or Grails?
Let's Go: Introduction to Google's Go Programming Language
NATS for Modern Messaging and Microservices
Importance of Multimedia
Principles of microservices XP Days Ukraine
Microservice Architecture
Software Design in Practice (with Java examples)
Microservices with Spring Boot
Importance of multimedia
Microservices with Java, Spring Boot and Spring Cloud
Microservice With Spring Boot and Spring Cloud
Ad

Similar to Do you need microservices architecture? (20)

PPTX
Semiservice.pptx
PPTX
Software Architectures, Week 3 - Microservice-based Architectures
PDF
Understanding MicroSERVICE Architecture with Java & Spring Boot
PPTX
Microservice.pptx
PPTX
Microservices: Lessons from the Trenches
PPTX
MICROSERVICES ARCHITECTURE unit -2.pptx
PDF
Introduction to Microservices
PDF
Microservices for Application Modernisation
PDF
Monolithic vs Microservices Architecture: Choosing the Right Approach for You...
PDF
Introduction to Microservices.pdf
PPTX
Introduction to microservices
PPTX
Microservices: A Step Towards Modernizing Healthcare Applications
PDF
Microservices: Detailed Guide
PPTX
Microservices Architecture - Bangkok 2018
PPTX
Architecting for speed: How agile innovators accelerate growth through micros...
PPTX
Architecting for speed - how agile innovators accelerate growth through micro...
PPSX
Microservices Architecture, Monolith Migration Patterns
PPTX
Monolithic and Microservices styles of Architecture
PPTX
05 microservices microdeck
PDF
Introduction to Microservices Architecture - SECCOMP 2020
Semiservice.pptx
Software Architectures, Week 3 - Microservice-based Architectures
Understanding MicroSERVICE Architecture with Java & Spring Boot
Microservice.pptx
Microservices: Lessons from the Trenches
MICROSERVICES ARCHITECTURE unit -2.pptx
Introduction to Microservices
Microservices for Application Modernisation
Monolithic vs Microservices Architecture: Choosing the Right Approach for You...
Introduction to Microservices.pdf
Introduction to microservices
Microservices: A Step Towards Modernizing Healthcare Applications
Microservices: Detailed Guide
Microservices Architecture - Bangkok 2018
Architecting for speed: How agile innovators accelerate growth through micros...
Architecting for speed - how agile innovators accelerate growth through micro...
Microservices Architecture, Monolith Migration Patterns
Monolithic and Microservices styles of Architecture
05 microservices microdeck
Introduction to Microservices Architecture - SECCOMP 2020

Recently uploaded (20)

PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PDF
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PDF
Encapsulation_ Review paper, used for researhc scholars
PDF
Spectral efficient network and resource selection model in 5G networks
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PPT
Teaching material agriculture food technology
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PPTX
Cloud computing and distributed systems.
PDF
Empathic Computing: Creating Shared Understanding
PDF
Encapsulation theory and applications.pdf
PPTX
Understanding_Digital_Forensics_Presentation.pptx
PDF
NewMind AI Weekly Chronicles - August'25 Week I
PPTX
A Presentation on Artificial Intelligence
PDF
Unlocking AI with Model Context Protocol (MCP)
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
Building Integrated photovoltaic BIPV_UPV.pdf
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
Encapsulation_ Review paper, used for researhc scholars
Spectral efficient network and resource selection model in 5G networks
Mobile App Security Testing_ A Comprehensive Guide.pdf
Reach Out and Touch Someone: Haptics and Empathic Computing
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
Teaching material agriculture food technology
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
Cloud computing and distributed systems.
Empathic Computing: Creating Shared Understanding
Encapsulation theory and applications.pdf
Understanding_Digital_Forensics_Presentation.pptx
NewMind AI Weekly Chronicles - August'25 Week I
A Presentation on Artificial Intelligence
Unlocking AI with Model Context Protocol (MCP)

Do you need microservices architecture?

  • 1. Do you need microservices architecture? Manu PK @manupk12 http://www.blog.manupk.com Software Architects Bangalore Meetup; 16 April 2016
  • 2. About Me  Software Architect @ Schneider Electric  Blogs @ http://www.blog.manupk.com  Twitter : @manupk12
  • 3. Agenda  What is microservices architecture  The need  Characteristics  Examples  Microservices architecture – The not-so-good parts  Limitations  Trade-Offs  Starting with a modular monolith  Don’t start with microservices if you are not sure about the future  Modularity is the key  Transforming a modular monolith to microservices
  • 4. Microservices architecture – The Need  What we have now – Monolith!  A single packaged deployment for all of the application  Complexity in  Functionality  Scaling  Fault Tolerance  Convoys Law  Governance  “The growing demand for agility, flexibility, and scalability to meet rapidly evolving business needs creates a strong need for a faster and more efficient delivery of software” - Arun Gupta
  • 5. Microservices architecture  Approach to developing a single application as a suite of small set of collaborating services.
  • 7. Microservices architecture - Characteristics  Organized around Business Capabilities  Smart endpoints and dumb pipes  Independent Governance  Independent Technical Stack  Independent Deployment  Improved fault isolation  Eventual Consistency for Data  Consumer first interfaces
  • 8. Microservices architecture - Limitations  Significant Operations Overhead  Implicit Interfaces  Distributed System Complexity  Additional tools for Service Registration and Service Discovery - Zookeeper, Doozer, Etcd, Eureka
  • 9.  DevOps Tool Set Distributed systems => High level of Automation => Need to depend on more tools => Need to have good DevOps skills in the team
  • 10. Microservices architecture – Trade-Offs  Source: http://martinfowler.com/bliki/MicroservicePremium.html
  • 11. Modularity is the key  Can you build a modular monolith..?  Source: http://blog.manupk.com/2013/04/package-your-classes-by-feature- and-not.html
  • 12. Modularity is the key Ref: http://blog.8thlight.com/uncle-bob/2012/08/13/the-clean-architecture.html
  • 13. Do you need microservices architecture  The “Hype” Cycle  Microservices is not a solution to modularity problems  Don’t start with microservices if you are not sure about the future evolutions  Use the “Bounded context” concept in the Eric Evan’s Domain Driven Design
  • 14. Summary : Answer these before you choose  Does your services represents different business cases/domains..?  Does the services needs to be deployed and managed independently..?  Does different parts of the application has different scaling/Technology needs..?
  • 15. Questions / Comments / Feedback @manupk12| manu.pk@outlook.com Slides @ http://www.slideshare.net/pkmanu
  • 16. References  http://martinfowler.com/microservices/#when  http://microservices.io/patterns/microservices.html  http://highscalability.com/blog/2014/4/8/microservices-not-a-free-lunch.html  http://martinfowler.com/articles/microservice-trade-offs.html  http://blog.arungupta.me/microservices-monoliths-noops/  http://blog.manupk.com/2013/04/package-your-classes-by-feature-and- not.html  http://martinfowler.com/bliki/MicroservicePremium.html  http://samnewman.io/talks/principles-of-microservices/  http://blog.cleancoder.com/uncle- bob/2014/10/01/CleanMicroserviceArchitecture.html