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
Karthikeyan VK
 
PPTX
Cloud Design Patterns
Karthikeyan VK
 
PPTX
Tips & Tricks to build software architecture document
Karthikeyan VK
 
PPTX
Event Streaming Architecture - Deep Dive
Karthikeyan VK
 
PPTX
Cloud design pattern using azure
Karthikeyan VK
 
PDF
Webportal .net, azure
Katpro Technologies Pvt Ltd
 
PPTX
The Windows Azure Platform (MSDN Events Series)
Dave Bost
 
PDF
MongoDB World 2019: Securing Application Data from Day One
MongoDB
 
Pillars of great Azure Architecture
Karthikeyan VK
 
Cloud Design Patterns
Karthikeyan VK
 
Tips & Tricks to build software architecture document
Karthikeyan VK
 
Event Streaming Architecture - Deep Dive
Karthikeyan VK
 
Cloud design pattern using azure
Karthikeyan VK
 
Webportal .net, azure
Katpro Technologies Pvt Ltd
 
The Windows Azure Platform (MSDN Events Series)
Dave Bost
 
MongoDB World 2019: Securing Application Data from Day One
MongoDB
 

What's hot (20)

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

Similar to Monolithic to Microservices - Handson (20)

PPTX
Convert monolithic .Net Applications to microservices
Karthikeyan VK
 
PPTX
Convert monolithic .Net Applications to microservices With Principles
Karthikeyan VK
 
PPT
The Role Of An Architect
llangit
 
PPT
Designingapplswithnet
DSK Chakravarthy
 
PDF
Microservices in the Enterprise: A Research Study and Reference Architecture
Jesus Rodriguez
 
PDF
Microservices best practices: Integration platforms, APIs, and more
Abhishek Sood
 
PDF
How to Choose the Right Technology, Framework or Tool to Build Microservices
Kai Wähner
 
PPTX
Introduction To Microservices
Lalit Kale
 
PPTX
Software Architectures, Week 3 - Microservice-based Architectures
Angelos Kapsimanis
 
PDF
Microservices Architecture for e-Commerce
Divante
 
PDF
Unleashing the Future: Building a Scalable and Up-to-Date GenAI Chatbot with ...
confluent
 
PPTX
Microservices music city code v2
Gregory Beamer
 
PDF
Microservices
Thiago Lopes
 
PDF
Microservices Journey NYC
Christian Posta
 
PPTX
Microservice's in detailed
Mohammed Fazuluddin
 
PDF
Oracle Blockchain Cloud Service
Denis Kolupaev
 
PPTX
Overview of azure microservices and the impact on integration
BizTalk360
 
PDF
Reference architectures shows a microservices deployed to Kubernetes
Rakesh Gujjarlapudi
 
PDF
Microservices = Death of the Enterprise Service Bus (ESB)?
Kai Wähner
 
PDF
Ignite 2019 - Telecommunications Industry
Rick Lievano
 
Convert monolithic .Net Applications to microservices
Karthikeyan VK
 
Convert monolithic .Net Applications to microservices With Principles
Karthikeyan VK
 
The Role Of An Architect
llangit
 
Designingapplswithnet
DSK Chakravarthy
 
Microservices in the Enterprise: A Research Study and Reference Architecture
Jesus Rodriguez
 
Microservices best practices: Integration platforms, APIs, and more
Abhishek Sood
 
How to Choose the Right Technology, Framework or Tool to Build Microservices
Kai Wähner
 
Introduction To Microservices
Lalit Kale
 
Software Architectures, Week 3 - Microservice-based Architectures
Angelos Kapsimanis
 
Microservices Architecture for e-Commerce
Divante
 
Unleashing the Future: Building a Scalable and Up-to-Date GenAI Chatbot with ...
confluent
 
Microservices music city code v2
Gregory Beamer
 
Microservices
Thiago Lopes
 
Microservices Journey NYC
Christian Posta
 
Microservice's in detailed
Mohammed Fazuluddin
 
Oracle Blockchain Cloud Service
Denis Kolupaev
 
Overview of azure microservices and the impact on integration
BizTalk360
 
Reference architectures shows a microservices deployed to Kubernetes
Rakesh Gujjarlapudi
 
Microservices = Death of the Enterprise Service Bus (ESB)?
Kai Wähner
 
Ignite 2019 - Telecommunications Industry
Rick Lievano
 
Ad

More from Karthikeyan VK (18)

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

Recently uploaded (20)

PDF
IEEE-CS Tech Predictions, SWEBOK and Quantum Software: Towards Q-SWEBOK
Hironori Washizaki
 
PDF
Become an Agentblazer Champion Challenge Kickoff
Dele Amefo
 
PDF
Become an Agentblazer Champion Challenge
Dele Amefo
 
PPTX
PFAS Reporting Requirements 2026 Are You Submission Ready Certivo.pptx
Certivo Inc
 
PPTX
Maximizing Revenue with Marketo Measure: A Deep Dive into Multi-Touch Attribu...
bbedford2
 
DOCX
The Future of Smart Factories Why Embedded Analytics Leads the Way
Varsha Nayak
 
PPTX
Save Business Costs with CRM Software for Insurance Agents
Insurance Tech Services
 
PDF
ShowUs: Pharo Stream Deck (ESUG 2025, Gdansk)
ESUG
 
PDF
Exploring AI Agents in Process Industries
amoreira6
 
PPTX
ConcordeApp: Engineering Global Impact & Unlocking Billions in Event ROI with AI
chastechaste14
 
PDF
What to consider before purchasing Microsoft 365 Business Premium_PDF.pdf
Q-Advise
 
PDF
PFAS Reporting Requirements 2026 Are You Submission Ready Certivo.pdf
Certivo Inc
 
PPTX
Why Use Open Source Reporting Tools for Business Intelligence.pptx
Varsha Nayak
 
PDF
Microsoft Teams Essentials; The pricing and the versions_PDF.pdf
Q-Advise
 
PDF
Multi-factor Authentication (MFA) requirement for Microsoft 365 Admin Center_...
Q-Advise
 
PPTX
Services offered by Dynamic Solutions in Pakistan
DaniyaalAdeemShibli1
 
PDF
Community & News Update Q2 Meet Up 2025
VictoriaMetrics
 
PDF
Appium Automation Testing Tutorial PDF: Learn Mobile Testing in 7 Days
jamescantor38
 
PPTX
TestNG for Java Testing and Automation testing
ssuser0213cb
 
PDF
QAware_Mario-Leander_Reimer_Architecting and Building a K8s-based AI Platform...
QAware GmbH
 
IEEE-CS Tech Predictions, SWEBOK and Quantum Software: Towards Q-SWEBOK
Hironori Washizaki
 
Become an Agentblazer Champion Challenge Kickoff
Dele Amefo
 
Become an Agentblazer Champion Challenge
Dele Amefo
 
PFAS Reporting Requirements 2026 Are You Submission Ready Certivo.pptx
Certivo Inc
 
Maximizing Revenue with Marketo Measure: A Deep Dive into Multi-Touch Attribu...
bbedford2
 
The Future of Smart Factories Why Embedded Analytics Leads the Way
Varsha Nayak
 
Save Business Costs with CRM Software for Insurance Agents
Insurance Tech Services
 
ShowUs: Pharo Stream Deck (ESUG 2025, Gdansk)
ESUG
 
Exploring AI Agents in Process Industries
amoreira6
 
ConcordeApp: Engineering Global Impact & Unlocking Billions in Event ROI with AI
chastechaste14
 
What to consider before purchasing Microsoft 365 Business Premium_PDF.pdf
Q-Advise
 
PFAS Reporting Requirements 2026 Are You Submission Ready Certivo.pdf
Certivo Inc
 
Why Use Open Source Reporting Tools for Business Intelligence.pptx
Varsha Nayak
 
Microsoft Teams Essentials; The pricing and the versions_PDF.pdf
Q-Advise
 
Multi-factor Authentication (MFA) requirement for Microsoft 365 Admin Center_...
Q-Advise
 
Services offered by Dynamic Solutions in Pakistan
DaniyaalAdeemShibli1
 
Community & News Update Q2 Meet Up 2025
VictoriaMetrics
 
Appium Automation Testing Tutorial PDF: Learn Mobile Testing in 7 Days
jamescantor38
 
TestNG for Java Testing and Automation testing
ssuser0213cb
 
QAware_Mario-Leander_Reimer_Architecting and Building a K8s-based AI Platform...
QAware GmbH
 

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