SlideShare a Scribd company logo
blogs.karthikeyanvk.in
How to your Convert Monolithic to Microservices
Karthikeyan VK
https://blogs.karthikeyanvk.in
@karthik3030
blogs.karthikeyanvk.in
Enter Text
Why Microservices ?
Resilience
Scaling
Removing Rewriting barrier
Ease of Deployment
blogs.karthikeyanvk.in
Enter Text
Why Microservices ?
Organization Alignment
Composability
Technology Heterogeneity
blogs.karthikeyanvk.in
Enter Text
Organization Alignment
• Microservices allows to align our architecture our
organization, by helping us minimizing the number of
people working on one codebase
• Smaller codebases tend to be more productive.
• Support Devops
blogs.karthikeyanvk.in
Enter Text
Composability
• Removing thinking in terms of narrow channel to
more holistic concepts of customer engagement such
as web/native/mobile/tablet/Wearable device and
exposing API as service
blogs.karthikeyanvk.in
Enter Text
Technology Heterogeneity
blogs.karthikeyanvk.in
Enter Text
What are Microservices ?
Microservices are small, autonomous services that
work together.
blogs.karthikeyanvk.in
Enter Text
How Small is Small ?
• Lines of Code ?
• Who has a system that is too big and that you’d like to
break down?
blogs.karthikeyanvk.in
Enter Text
How to define being small ?
• Smaller the service, the more you maximize the
benefits and downsides of Microservices architecture.
• When you get smaller, the benefits around
interdependence increase
• When you get too smaller, the complexity emerges
from having more and more moving parts
blogs.karthikeyanvk.in
Enter Text
Corporate Culture
• Open to technology
• Think of Task Force
• Leave behind process and procedures
• Culture of Automation
• Expect failure
• Autonomous
blogs.karthikeyanvk.in
Enter Text
How to start ?
blogs.karthikeyanvk.in
Enter Text
Pet Store Functionality
Authentication
Search Pet
Order Pet
blogs.karthikeyanvk.in
Enter Text
What is Bounded Context?
• Specific responsibility enforced by explicit boundaries.
blogs.karthikeyanvk.in
Enter Text
What is Bounded Context?
• A Domain consists of multiple bounded contexts, and
residing within each are models that do not need to
be communicated outside as well as things that are
shared externally with other bounded contexts.
blogs.karthikeyanvk.in
Enter Text
What is Bounded Context?
• Each bounded context has an explicit interface, where
it decides what models to share with other contexts.
blogs.karthikeyanvk.in
Enter Text
Business Capabilities
• Don’t think in terms of data that is shared
• Think in terms of bounded context capabilities that is
provided in the rest of the domain.
• Communication in Terms of Business Concepts
blogs.karthikeyanvk.in
Enter Text
Integration between Microservices
• Avoid Breaking Changes
• Keep Your APIs Technology-Agnostic
• Make Your Service Simple for Consumers
• Hide Internal Implementation Detail
blogs.karthikeyanvk.in
Enter Text
Conway's law and System Design
• Any organization that designs a system (defined more broadly
here than just information systems) will inevitably produce a
design whose structure is a copy of the organization’s
communication structure.
blogs.karthikeyanvk.in
Enter Text
blogs.karthikeyanvk.in
Enter Text
Modelled around Business Domain
blogs.karthikeyanvk.in
Enter Text
Modelled around Business Domain
blogs.karthikeyanvk.in
Enter Text
Hide Implementation Details
blogs.karthikeyanvk.in
Enter Text
Hide DB
Service 1 Service 2 Service 3
Never !!!!
blogs.karthikeyanvk.in
Enter Text
Hide DB
Service 1 Service 2
blogs.karthikeyanvk.in
Enter Text
Hide Implementation - Client libraries
BE Careful on how you use
blogs.karthikeyanvk.in
Enter Text
Decentralize all the things
blogs.karthikeyanvk.in
Enter Text
Decentralize all the things
Orchestration vs Chreography
blogs.karthikeyanvk.in
Enter Text
Decentralize all the things
Chreography – Semantic Monitoring
blogs.karthikeyanvk.in
Enter Text
Deploy Independently
blogs.karthikeyanvk.in
Enter Text
Consumer First
blogs.karthikeyanvk.in
Enter Text
Isolate Failure
blogs.karthikeyanvk.in
Enter Text
Highly Observable
blogs.karthikeyanvk.in
Enter Text
Culture of automation
blogs.karthikeyanvk.in
Enter Text
Do I need microservices ?
blogs.karthikeyanvk.in
Enter Text
@karthik3030
http://bit.ly/m2m2019
blogs.karthikeyanvk.in
Enter Text
References
@karthik3030
• https://middlewareblog.redhat.com/2017/12/05/the-state-of-microservices-survey-2017-
eight-trends-you-need-to-know/
• https://samnewman.io/talks/principles-of-microservices/
blogs.karthikeyanvk.in
Enter Text
@karthik3030
Thank you
/Q&A

More Related Content

PPTX
Pillars of great Azure Architecture
PPTX
Cloud Design Patterns
PPTX
Tips & Tricks to build software architecture document
PPTX
Event Streaming Architecture - Deep Dive
PPTX
Cloud design pattern using azure
PDF
Webportal .net, azure
PPTX
The Windows Azure Platform (MSDN Events Series)
PDF
MongoDB World 2019: Securing Application Data from Day One
Pillars of great Azure Architecture
Cloud Design Patterns
Tips & Tricks to build software architecture document
Event Streaming Architecture - Deep Dive
Cloud design pattern using azure
Webportal .net, azure
The Windows Azure Platform (MSDN Events Series)
MongoDB World 2019: Securing Application Data from Day One

What's hot (20)

PDF
Microsoft az-204 download free demo at dumps cafe
PPTX
Azure AD B2C An Introduction - DogFoodCon 2018
PPTX
Running Regulated Workloads on Azure PaaS services (DogFoodCon 2018)
PPTX
Microsoft Azure News - August 2021
PPTX
Make your Azure PaaS Deployment More Safe
PPTX
Azure AD B2C Webinar Series: Identity Protocols OIDC and OAuth2 part 2
PPTX
The bits and pieces of Azure AD B2C
PDF
Azure AD B2C – integration in a bank
PPTX
Azure AD B2C Webinar Series: Custom Policies Part 1
PPTX
Azure AD B2C Webinar Series: Custom Policies Part 2 Policy Walkthrough
PPTX
Microsoft Reactor Toronto 5/5/2020 | Azure Kubernetes In Action - Running and...
PDF
Microsoft Azure For Solutions Architects
PDF
O365Con18 - Exploring Conditional Access to content stored in Office 365 - Pa...
PPTX
Azure AD B2C Webinar Series: Identity Protocols OIDC and OAuth2 part 1
PPTX
Azure AD App Proxy Login Scenarios with an On Premises Applications - TSPUG
PPTX
Microsoft Azure News - November 2021
PDF
CQRS : Introduction
PPTX
Best practices with Microsoft Graph: Making your applications more performant...
PPTX
SPIntersection 2016 - MICROSOFT CLOUD IDENTITIES IN AZURE AND OFFICE 365
Microsoft az-204 download free demo at dumps cafe
Azure AD B2C An Introduction - DogFoodCon 2018
Running Regulated Workloads on Azure PaaS services (DogFoodCon 2018)
Microsoft Azure News - August 2021
Make your Azure PaaS Deployment More Safe
Azure AD B2C Webinar Series: Identity Protocols OIDC and OAuth2 part 2
The bits and pieces of Azure AD B2C
Azure AD B2C – integration in a bank
Azure AD B2C Webinar Series: Custom Policies Part 1
Azure AD B2C Webinar Series: Custom Policies Part 2 Policy Walkthrough
Microsoft Reactor Toronto 5/5/2020 | Azure Kubernetes In Action - Running and...
Microsoft Azure For Solutions Architects
O365Con18 - Exploring Conditional Access to content stored in Office 365 - Pa...
Azure AD B2C Webinar Series: Identity Protocols OIDC and OAuth2 part 1
Azure AD App Proxy Login Scenarios with an On Premises Applications - TSPUG
Microsoft Azure News - November 2021
CQRS : Introduction
Best practices with Microsoft Graph: Making your applications more performant...
SPIntersection 2016 - MICROSOFT CLOUD IDENTITIES IN AZURE AND OFFICE 365
Ad

Similar to Monolithic to Microservices - Handson (20)

PPTX
Convert monolithic .Net Applications to microservices With Principles
PPTX
Convert monolithic .Net Applications to microservices
PDF
Unlocking the Future of Software Development with Microservices Architecture.pdf
PPTX
Microservices: Lessons from the Trenches
PPTX
Microservices music city code v2
PDF
Overcoming Ongoing Digital Transformational Challenges with a Microservices A...
PPTX
Let's talk about... Microservices
PDF
Patterns of evolution from monolith to microservices
PDF
Everything you want to know about microservices
PDF
Building microservices on azure
PPSX
Microservices Architecture, Monolith Migration Patterns
PPTX
Surviving as a Monolith in a Microservices World - by Blair Olynyk, Hyperwallet
PPTX
Discovering Microservices
PPTX
Pragmatic Microservices
PPTX
Microservices - firststatedot.net - 13-oct-15
PDF
Microservices: an introduction
PDF
Decompose your monolith: Six principles for refactoring a monolith to microse...
PDF
Microservices: Benefits, drawbacks and are they for me?
PPTX
An introduction to Microservices
PPTX
Microservices-101
Convert monolithic .Net Applications to microservices With Principles
Convert monolithic .Net Applications to microservices
Unlocking the Future of Software Development with Microservices Architecture.pdf
Microservices: Lessons from the Trenches
Microservices music city code v2
Overcoming Ongoing Digital Transformational Challenges with a Microservices A...
Let's talk about... Microservices
Patterns of evolution from monolith to microservices
Everything you want to know about microservices
Building microservices on azure
Microservices Architecture, Monolith Migration Patterns
Surviving as a Monolith in a Microservices World - by Blair Olynyk, Hyperwallet
Discovering Microservices
Pragmatic Microservices
Microservices - firststatedot.net - 13-oct-15
Microservices: an introduction
Decompose your monolith: Six principles for refactoring a monolith to microse...
Microservices: Benefits, drawbacks and are they for me?
An introduction to Microservices
Microservices-101
Ad

More from Karthikeyan VK (18)

PPTX
GCD ChatGPT.pptx
PPTX
DataScience-101
PPTX
How to become a Software Architect.pptx
PPTX
Blockchain workshop 101
PPTX
Anti patterns
PPTX
How to double your productivity as a developer
PPTX
How to be an expert in Debugging .Net Applications
PPTX
Chat bot LUIS
PPTX
Enterprise security kubernetes
PPTX
Save Azure Cost
PPTX
Learning graphql .Net
PPTX
Azure devspaces
PPTX
Azure Event Grid
PPTX
Machine Learning Basics using Azure ML
PPTX
Cognitive Intelligence using azure search
PPTX
Azure container instances
PPTX
Azure Durable Functions
PPTX
Mobile Devops Using VSTS
GCD ChatGPT.pptx
DataScience-101
How to become a Software Architect.pptx
Blockchain workshop 101
Anti patterns
How to double your productivity as a developer
How to be an expert in Debugging .Net Applications
Chat bot LUIS
Enterprise security kubernetes
Save Azure Cost
Learning graphql .Net
Azure devspaces
Azure Event Grid
Machine Learning Basics using Azure ML
Cognitive Intelligence using azure search
Azure container instances
Azure Durable Functions
Mobile Devops Using VSTS

Recently uploaded (20)

PDF
Design an Analysis of Algorithms I-SECS-1021-03
PPTX
L1 - Introduction to python Backend.pptx
PDF
Upgrade and Innovation Strategies for SAP ERP Customers
PPTX
VVF-Customer-Presentation2025-Ver1.9.pptx
PDF
Adobe Illustrator 28.6 Crack My Vision of Vector Design
PDF
Odoo Companies in India – Driving Business Transformation.pdf
PPTX
history of c programming in notes for students .pptx
PPT
Introduction Database Management System for Course Database
PDF
SAP S4 Hana Brochure 3 (PTS SYSTEMS AND SOLUTIONS)
PDF
System and Network Administration Chapter 2
PPTX
Reimagine Home Health with the Power of Agentic AI​
PDF
Wondershare Filmora 15 Crack With Activation Key [2025
PDF
Adobe Premiere Pro 2025 (v24.5.0.057) Crack free
PDF
EN-Survey-Report-SAP-LeanIX-EA-Insights-2025.pdf
PDF
T3DD25 TYPO3 Content Blocks - Deep Dive by André Kraus
PPTX
Embracing Complexity in Serverless! GOTO Serverless Bengaluru
PPTX
Operating system designcfffgfgggggggvggggggggg
PDF
Digital Systems & Binary Numbers (comprehensive )
PPTX
Introduction to Artificial Intelligence
PDF
Design an Analysis of Algorithms II-SECS-1021-03
Design an Analysis of Algorithms I-SECS-1021-03
L1 - Introduction to python Backend.pptx
Upgrade and Innovation Strategies for SAP ERP Customers
VVF-Customer-Presentation2025-Ver1.9.pptx
Adobe Illustrator 28.6 Crack My Vision of Vector Design
Odoo Companies in India – Driving Business Transformation.pdf
history of c programming in notes for students .pptx
Introduction Database Management System for Course Database
SAP S4 Hana Brochure 3 (PTS SYSTEMS AND SOLUTIONS)
System and Network Administration Chapter 2
Reimagine Home Health with the Power of Agentic AI​
Wondershare Filmora 15 Crack With Activation Key [2025
Adobe Premiere Pro 2025 (v24.5.0.057) Crack free
EN-Survey-Report-SAP-LeanIX-EA-Insights-2025.pdf
T3DD25 TYPO3 Content Blocks - Deep Dive by André Kraus
Embracing Complexity in Serverless! GOTO Serverless Bengaluru
Operating system designcfffgfgggggggvggggggggg
Digital Systems & Binary Numbers (comprehensive )
Introduction to Artificial Intelligence
Design an Analysis of Algorithms II-SECS-1021-03

Monolithic to Microservices - Handson

Editor's Notes

  • #3: Resilience – One part of the service fails and whole application fails, so running application in spite of failures Scaling – One part of application needs more resources and scalling is easy when Microservices Removing Rewriting Barrier – Technology can be changed easily if it is small for specific needs
  • #4: Composability - a system design principle that deals with the inter-relationships of components. essential features - self-contained,Stateless
  • #6: Composability - a system design principle that deals with the inter-relationships of components. essential features - self-contained, Stateless
  • #8: Gather together those things that change for the same reason, and separate those things that change for different reasons
  • #9: Gather together those things that change for the same reason, and separate those things that change for different reasons
  • #11: learn new runtimes, technologies, or frameworks In Search of Excellence - Tom Peters and Robert H. Waterman, Jr.. Published in 1982
  • #13: Composability - a system design principle that deals with the inter-relationships of components. essential features - self-contained,Stateless
  • #15: Warehouse, finance, sales, front desk
  • #17: These capabilities may require the interchange of information — shared models — but I have seen too often that thinking about data leads to anemic, CRUD-based (create, read, update, delete) services. So ask first “What does this context do?”, and then “So what data does it need to do that?” When modeled as services, these capabilities become the key operations that will be exposed over the wire to other collaborators. Communication in Terms of Business Concepts - It’s also important to think of the communication between these microservices in terms of the same business concepts.
  • #18: Technology Agnostic - Avoiding integration technology that dictates what technology stacks we can use to implement our Microservices. Ready shift to java or databases based on requirement
  • #19: Organizational issues to consider as well Explain moore’s law two-pizza teams owning the whole lifecycle of their services Explain how about three tier architecture and Microservices fits here wrt to teams
  • #22: Domain entities – Data oriented – Collection of capabilities
  • #23: Bounded context Think about what can be shared in the model Exposing the hidden is easier than hiding the exposed properties.
  • #27: ARM Template Autonomy Owner operator model Own the microservices Internal Open source – submit PR, still proper gate keeper. No service bus – keeping it dumb Proper technical boundary
  • #28: GOD Class Use events Talk in queue
  • #29: GOD Class Use events Talk in queue
  • #31: Swagger Consumer driven contracts Define api standards API Documentation API Gateway – Service Discovery
  • #32: Microservices are not reliable by default Kubernetes helps Polly No single point of failure Search for product but cannot order atleast Strangler pattern Circuit breaker
  • #33: Logs Monitoring Elastic search Log analytics Dashboards
  • #34: Time to market CI/CD Build once and deploy everywhere. Build piplelines
  • #35: Organisation alignment Release faster Scaling Adopt Technology faster Embrace uncertainty in digital world