SlideShare a Scribd company logo
1 of 18
For Microservices Online Training : +91-999
123 502
Introduction toMicroservices
Shailendra Chauhan
Microsoft MVP
,TechnicalConsultant and CorporateTrainer
For Microservices Online Training : +91-999
123 502
• Introduction to Microservices
• Microservices Principles
• Monolithic vs.N-Layervs.SOAvs.Microservices
• MicroservicesArchitecture
• When to useMicroservicesArchitecture
• Challengesof Microservices
• Tools/Platform ForBuilding Microservices
• MicroservicesAPIGateways
• DesignPatterns for Microservices
Agenda
For Microservices Online Training : +91-999
123 502
• Microservice is asmall unit that hasonly one responsibility or single logic
which solve aspecific problem.
• Microservices are the evolution of service-orientedarchitecture.
• Microservices are small and independent services that work together.
• Astyle of engineering to build highly automated, independent and evolving
software.
• EachMicroservice canbe deployed independently.
• AMicroservice itself persist its own data or externalstate.
• All services don't need to share the same technology stack, libraries, or
frameworks.
Introduction to Microservices
For Microservices Online Training : +91-999
123 502
Microservices Principles
For Microservices Online Training : +91-999
123 502
• Modelled around business domain : Separate system capability into
different domains and each domain will focus on one thing and its
associated logic.
• Culture of Automation : Follow the culture of automation by designing it for
continues integration and continuous delivery.
• Hide implementation details : Hiding the internal details reduce the
coupling and helps to do changes and improvement without affecting the
overall architecture.
• Decentralization : There is no centralized database, usually each service is
designed to manageits own database.
Microservices Principles Contd..
For Microservices Online Training : +91-999
123 502
• Deploy Independently : Eachservice canbe deployed independently.
• Failure Isolation : The impact of a failure is less in microservice architecture
compares to monolithic type asit will only affect that particular service and
its associates.Other servicescankeep running.
• Highly Observable : The services should collect as much information to
analyzewhat is happening within eachof them like log events andstats.
Microservices Principles Contd..
For Microservices Online Training : +91-999
123 502
Monolithic vs.N-Layervs.SOAvs.Microservices
Monolithic: Single
Unit
Multi Units: N-
Layer/SOA
Smaller Units:
Microservices
For Microservices Online Training : +91-999
123 502
Microservices Architecture
Client API
Gateway
Service 1
Service
2
Service
For Microservices Online Training : +91-999
123 502
• Largeapplications that require ahigh releasevelocity.
• Complexapplications that need to be highlyscalable.
• Applications with rich domains or manysubdomains.
• Anorganization that consists of small developmentteams.
When to useMicroservices Architecture
For Microservices Online Training : +91-999
123 502
• Languageindependent and framework independent.
• Independently develop, deploy, redeploy, version and scalecomponent
servicesin secondswithout compromising the integrity of anapplication
• Better fault isolation keepsother servicesto work even onfailure.
• Zerodowntime upgrades.
• Servicescanbe of from different servers or even from different datacenters.
• Reliable and self-healing.
• Supports continuous integration anddelivery.
• Easyto integrate with third parties.
Advantages of Microservices
For Microservices Online Training : +91-999
123 502
• Complexity - A microservices application is more complex as compared to
the equivalent monolithic application.
• Development and testing - Building and testing a service that relies on other
servicesneed domains understanding and refactoring them canbe difficult.
• Lack of governance - The decentralized approach to building microservices
has advantages, but it also lead to so many problems like maintenance
becauseof many different languagesand frameworks.
• Network congestion and latency - The use of many small, services can result
into additional latency because of interservice communication and a long
chain of service dependencies. So design APIs carefully and use
asynchronous communication patterns.
Challenges of Microservices
For Microservices Online Training : +91-999
123 502
• Data Integrity - E
ach microservice is responsible for its own data
persistence.Asaresult, data consistency canbe achallenge.
• Management - T
o be successful with microservices requires a mature
DevOps culture. Correlated logging across services can be challenging for a
single user operation.
• Versioning - Be careful while updating a service. It must not break services
that depend on it. So without careful design, you might have problems
with backward or forwardcompatibility.
• Skillset - Microservices are highly distributed systems. Soneed a skilled and
experience team to implement it.
Challenges of Microservices Contd..
For Microservices Online Training : +91-999
123 502
Tools/IDE:
Getting started with Microservices
For Microservices Online Training : +91-999
123 502
Development Frameworks
For Microservices Online Training : +91-999
123 502
Development Tools
Visual Studio
www.visualstudio.microsoft.co
m/
VS Code
www.code.visualstudio.co
m/
Docker
www.code.docker.co
m/
For Microservices Online Training : +91-999
123 502
Microservices APIGateways
Azure API
Management
Ocelot API
Gateway
Traefik
(traffic)
For Microservices Online Training : +91-999
123 502
DesignPatterns for Microservices
Decomposition Patterns
• Decompose by Business
Capability
• Decompose by Subdomain
• Strangler Pattern
Integration Patterns
• API Gateway Pattern
• Aggregator Pattern
• Client-Side UI Composition
Pattern
Database Patterns
• Database per Service
• Shared Database per Service
• CQRS Pattern
• Saga Pattern
Communication Patterns
• Request/Response Pattern
• Messaging Pattern
• Event Driven Pattern
Deployment Patterns
• Multiple Service Instances per Host
• Service Instance per Host
• Serverless Deployment
• Service Deployment Platform
For Microservices Online Training : +91-999
123 502
DesignPatterns for Microservices
Observability Patterns
• Log Aggregation
• Performance Metrics
• Distributed Tracing
• Health Check
Cross-Cutting Concern
Patterns
• Externalized Configuration
• Service Discovery Pattern
• Circuit Breaker Pattern

More Related Content

Similar to Introduction to Microservices_Architecture.pptx

APIdays Paris 2019 - Cloud native API Management for Microservices on a Servi...
APIdays Paris 2019 - Cloud native API Management for Microservices on a Servi...APIdays Paris 2019 - Cloud native API Management for Microservices on a Servi...
APIdays Paris 2019 - Cloud native API Management for Microservices on a Servi...apidays
 
Migrating to Microservices Patterns and Technologies (edition 2023)
 Migrating to Microservices Patterns and Technologies (edition 2023) Migrating to Microservices Patterns and Technologies (edition 2023)
Migrating to Microservices Patterns and Technologies (edition 2023)Ahmed Misbah
 
MICROSERVICES ARCHITECTURE unit -2.pptx
MICROSERVICES ARCHITECTURE unit -2.pptxMICROSERVICES ARCHITECTURE unit -2.pptx
MICROSERVICES ARCHITECTURE unit -2.pptxMohammedShahid562503
 
Containing your microservice sprawl
Containing your microservice sprawlContaining your microservice sprawl
Containing your microservice sprawlLibbySchulze
 
[APIdays Paris 2019] API Management in Service Mesh Using Istio and WSO2 API ...
[APIdays Paris 2019] API Management in Service Mesh Using Istio and WSO2 API ...[APIdays Paris 2019] API Management in Service Mesh Using Istio and WSO2 API ...
[APIdays Paris 2019] API Management in Service Mesh Using Istio and WSO2 API ...WSO2
 
Service Mesh Talk for CTO Forum
Service Mesh Talk for CTO ForumService Mesh Talk for CTO Forum
Service Mesh Talk for CTO ForumRick Hightower
 
Microservices for Enterprises
Microservices for Enterprises Microservices for Enterprises
Microservices for Enterprises Kasun Indrasiri
 
Constructing Microservice Architecture.pptx
Constructing Microservice Architecture.pptxConstructing Microservice Architecture.pptx
Constructing Microservice Architecture.pptxPlektonLabs
 
DevOps-training-in-chandigarh-Join-now--
DevOps-training-in-chandigarh-Join-now--DevOps-training-in-chandigarh-Join-now--
DevOps-training-in-chandigarh-Join-now--asmeerana605
 
The Reality of Managing Microservices in Your CD Pipeline
The Reality of Managing Microservices in Your CD PipelineThe Reality of Managing Microservices in Your CD Pipeline
The Reality of Managing Microservices in Your CD PipelineDevOps.com
 
CWIN17 Utrecht / cg u services - frank van der wal
CWIN17 Utrecht / cg u services - frank van der walCWIN17 Utrecht / cg u services - frank van der wal
CWIN17 Utrecht / cg u services - frank van der walCapgemini
 
[WSO2Con EU 2017] Microservices for Enterprises
[WSO2Con EU 2017] Microservices for Enterprises[WSO2Con EU 2017] Microservices for Enterprises
[WSO2Con EU 2017] Microservices for EnterprisesWSO2
 
I Love APIs 2015: Microservices at Amazon
I Love APIs 2015: Microservices at AmazonI Love APIs 2015: Microservices at Amazon
I Love APIs 2015: Microservices at AmazonApigee | Google Cloud
 
#ATAGTR2020 Presentation - Microservices – Explored
#ATAGTR2020 Presentation - Microservices – Explored#ATAGTR2020 Presentation - Microservices – Explored
#ATAGTR2020 Presentation - Microservices – ExploredAgile Testing Alliance
 
Application Centric Microservices from Redhat Summit 2015
Application Centric Microservices from Redhat Summit 2015Application Centric Microservices from Redhat Summit 2015
Application Centric Microservices from Redhat Summit 2015Ken Owens
 
Practical Microservice Architecture (edition 2022).pdf
Practical Microservice Architecture (edition 2022).pdfPractical Microservice Architecture (edition 2022).pdf
Practical Microservice Architecture (edition 2022).pdfAhmed Misbah
 
Microsoft Microservices
Microsoft MicroservicesMicrosoft Microservices
Microsoft MicroservicesChase Aucoin
 
Modernizing IT with Microservices
Modernizing IT with MicroservicesModernizing IT with Microservices
Modernizing IT with MicroservicesLeanIX GmbH
 
Micro Front-End & Microservices - Plansoft
Micro Front-End & Microservices - PlansoftMicro Front-End & Microservices - Plansoft
Micro Front-End & Microservices - PlansoftMiki Lombardi
 

Similar to Introduction to Microservices_Architecture.pptx (20)

APIdays Paris 2019 - Cloud native API Management for Microservices on a Servi...
APIdays Paris 2019 - Cloud native API Management for Microservices on a Servi...APIdays Paris 2019 - Cloud native API Management for Microservices on a Servi...
APIdays Paris 2019 - Cloud native API Management for Microservices on a Servi...
 
Microservices
MicroservicesMicroservices
Microservices
 
Migrating to Microservices Patterns and Technologies (edition 2023)
 Migrating to Microservices Patterns and Technologies (edition 2023) Migrating to Microservices Patterns and Technologies (edition 2023)
Migrating to Microservices Patterns and Technologies (edition 2023)
 
MICROSERVICES ARCHITECTURE unit -2.pptx
MICROSERVICES ARCHITECTURE unit -2.pptxMICROSERVICES ARCHITECTURE unit -2.pptx
MICROSERVICES ARCHITECTURE unit -2.pptx
 
Containing your microservice sprawl
Containing your microservice sprawlContaining your microservice sprawl
Containing your microservice sprawl
 
[APIdays Paris 2019] API Management in Service Mesh Using Istio and WSO2 API ...
[APIdays Paris 2019] API Management in Service Mesh Using Istio and WSO2 API ...[APIdays Paris 2019] API Management in Service Mesh Using Istio and WSO2 API ...
[APIdays Paris 2019] API Management in Service Mesh Using Istio and WSO2 API ...
 
Service Mesh Talk for CTO Forum
Service Mesh Talk for CTO ForumService Mesh Talk for CTO Forum
Service Mesh Talk for CTO Forum
 
Microservices for Enterprises
Microservices for Enterprises Microservices for Enterprises
Microservices for Enterprises
 
Constructing Microservice Architecture.pptx
Constructing Microservice Architecture.pptxConstructing Microservice Architecture.pptx
Constructing Microservice Architecture.pptx
 
DevOps-training-in-chandigarh-Join-now--
DevOps-training-in-chandigarh-Join-now--DevOps-training-in-chandigarh-Join-now--
DevOps-training-in-chandigarh-Join-now--
 
The Reality of Managing Microservices in Your CD Pipeline
The Reality of Managing Microservices in Your CD PipelineThe Reality of Managing Microservices in Your CD Pipeline
The Reality of Managing Microservices in Your CD Pipeline
 
CWIN17 Utrecht / cg u services - frank van der wal
CWIN17 Utrecht / cg u services - frank van der walCWIN17 Utrecht / cg u services - frank van der wal
CWIN17 Utrecht / cg u services - frank van der wal
 
[WSO2Con EU 2017] Microservices for Enterprises
[WSO2Con EU 2017] Microservices for Enterprises[WSO2Con EU 2017] Microservices for Enterprises
[WSO2Con EU 2017] Microservices for Enterprises
 
I Love APIs 2015: Microservices at Amazon
I Love APIs 2015: Microservices at AmazonI Love APIs 2015: Microservices at Amazon
I Love APIs 2015: Microservices at Amazon
 
#ATAGTR2020 Presentation - Microservices – Explored
#ATAGTR2020 Presentation - Microservices – Explored#ATAGTR2020 Presentation - Microservices – Explored
#ATAGTR2020 Presentation - Microservices – Explored
 
Application Centric Microservices from Redhat Summit 2015
Application Centric Microservices from Redhat Summit 2015Application Centric Microservices from Redhat Summit 2015
Application Centric Microservices from Redhat Summit 2015
 
Practical Microservice Architecture (edition 2022).pdf
Practical Microservice Architecture (edition 2022).pdfPractical Microservice Architecture (edition 2022).pdf
Practical Microservice Architecture (edition 2022).pdf
 
Microsoft Microservices
Microsoft MicroservicesMicrosoft Microservices
Microsoft Microservices
 
Modernizing IT with Microservices
Modernizing IT with MicroservicesModernizing IT with Microservices
Modernizing IT with Microservices
 
Micro Front-End & Microservices - Plansoft
Micro Front-End & Microservices - PlansoftMicro Front-End & Microservices - Plansoft
Micro Front-End & Microservices - Plansoft
 

Recently uploaded

Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...MyIntelliSource, Inc.
 
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...soniya singh
 
Intelligent Home Wi-Fi Solutions | ThinkPalm
Intelligent Home Wi-Fi Solutions | ThinkPalmIntelligent Home Wi-Fi Solutions | ThinkPalm
Intelligent Home Wi-Fi Solutions | ThinkPalmSujith Sukumaran
 
The Evolution of Karaoke From Analog to App.pdf
The Evolution of Karaoke From Analog to App.pdfThe Evolution of Karaoke From Analog to App.pdf
The Evolution of Karaoke From Analog to App.pdfPower Karaoke
 
Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)OPEN KNOWLEDGE GmbH
 
Unveiling Design Patterns: A Visual Guide with UML Diagrams
Unveiling Design Patterns: A Visual Guide with UML DiagramsUnveiling Design Patterns: A Visual Guide with UML Diagrams
Unveiling Design Patterns: A Visual Guide with UML DiagramsAhmed Mohamed
 
EY_Graph Database Powered Sustainability
EY_Graph Database Powered SustainabilityEY_Graph Database Powered Sustainability
EY_Graph Database Powered SustainabilityNeo4j
 
Folding Cheat Sheet #4 - fourth in a series
Folding Cheat Sheet #4 - fourth in a seriesFolding Cheat Sheet #4 - fourth in a series
Folding Cheat Sheet #4 - fourth in a seriesPhilip Schwarz
 
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdf
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdfGOING AOT WITH GRAALVM – DEVOXX GREECE.pdf
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdfAlina Yurenko
 
Asset Management Software - Infographic
Asset Management Software - InfographicAsset Management Software - Infographic
Asset Management Software - InfographicHr365.us smith
 
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024StefanoLambiase
 
Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...OnePlan Solutions
 
What is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWhat is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWave PLM
 
software engineering Chapter 5 System modeling.pptx
software engineering Chapter 5 System modeling.pptxsoftware engineering Chapter 5 System modeling.pptx
software engineering Chapter 5 System modeling.pptxnada99848
 
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed DataAlluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed DataAlluxio, Inc.
 
Building Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop SlideBuilding Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop SlideChristina Lin
 
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样umasea
 
chapter--4-software-project-planning.ppt
chapter--4-software-project-planning.pptchapter--4-software-project-planning.ppt
chapter--4-software-project-planning.pptkotipi9215
 
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASEBATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASEOrtus Solutions, Corp
 

Recently uploaded (20)

Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
 
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
 
Call Girls In Mukherjee Nagar 📱 9999965857 🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...
Call Girls In Mukherjee Nagar 📱  9999965857  🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...Call Girls In Mukherjee Nagar 📱  9999965857  🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...
Call Girls In Mukherjee Nagar 📱 9999965857 🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...
 
Intelligent Home Wi-Fi Solutions | ThinkPalm
Intelligent Home Wi-Fi Solutions | ThinkPalmIntelligent Home Wi-Fi Solutions | ThinkPalm
Intelligent Home Wi-Fi Solutions | ThinkPalm
 
The Evolution of Karaoke From Analog to App.pdf
The Evolution of Karaoke From Analog to App.pdfThe Evolution of Karaoke From Analog to App.pdf
The Evolution of Karaoke From Analog to App.pdf
 
Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)
 
Unveiling Design Patterns: A Visual Guide with UML Diagrams
Unveiling Design Patterns: A Visual Guide with UML DiagramsUnveiling Design Patterns: A Visual Guide with UML Diagrams
Unveiling Design Patterns: A Visual Guide with UML Diagrams
 
EY_Graph Database Powered Sustainability
EY_Graph Database Powered SustainabilityEY_Graph Database Powered Sustainability
EY_Graph Database Powered Sustainability
 
Folding Cheat Sheet #4 - fourth in a series
Folding Cheat Sheet #4 - fourth in a seriesFolding Cheat Sheet #4 - fourth in a series
Folding Cheat Sheet #4 - fourth in a series
 
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdf
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdfGOING AOT WITH GRAALVM – DEVOXX GREECE.pdf
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdf
 
Asset Management Software - Infographic
Asset Management Software - InfographicAsset Management Software - Infographic
Asset Management Software - Infographic
 
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024
 
Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...
 
What is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWhat is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need It
 
software engineering Chapter 5 System modeling.pptx
software engineering Chapter 5 System modeling.pptxsoftware engineering Chapter 5 System modeling.pptx
software engineering Chapter 5 System modeling.pptx
 
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed DataAlluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
 
Building Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop SlideBuilding Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
 
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
 
chapter--4-software-project-planning.ppt
chapter--4-software-project-planning.pptchapter--4-software-project-planning.ppt
chapter--4-software-project-planning.ppt
 
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASEBATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
 

Introduction to Microservices_Architecture.pptx

  • 1. For Microservices Online Training : +91-999 123 502 Introduction toMicroservices Shailendra Chauhan Microsoft MVP ,TechnicalConsultant and CorporateTrainer
  • 2. For Microservices Online Training : +91-999 123 502 • Introduction to Microservices • Microservices Principles • Monolithic vs.N-Layervs.SOAvs.Microservices • MicroservicesArchitecture • When to useMicroservicesArchitecture • Challengesof Microservices • Tools/Platform ForBuilding Microservices • MicroservicesAPIGateways • DesignPatterns for Microservices Agenda
  • 3. For Microservices Online Training : +91-999 123 502 • Microservice is asmall unit that hasonly one responsibility or single logic which solve aspecific problem. • Microservices are the evolution of service-orientedarchitecture. • Microservices are small and independent services that work together. • Astyle of engineering to build highly automated, independent and evolving software. • EachMicroservice canbe deployed independently. • AMicroservice itself persist its own data or externalstate. • All services don't need to share the same technology stack, libraries, or frameworks. Introduction to Microservices
  • 4. For Microservices Online Training : +91-999 123 502 Microservices Principles
  • 5. For Microservices Online Training : +91-999 123 502 • Modelled around business domain : Separate system capability into different domains and each domain will focus on one thing and its associated logic. • Culture of Automation : Follow the culture of automation by designing it for continues integration and continuous delivery. • Hide implementation details : Hiding the internal details reduce the coupling and helps to do changes and improvement without affecting the overall architecture. • Decentralization : There is no centralized database, usually each service is designed to manageits own database. Microservices Principles Contd..
  • 6. For Microservices Online Training : +91-999 123 502 • Deploy Independently : Eachservice canbe deployed independently. • Failure Isolation : The impact of a failure is less in microservice architecture compares to monolithic type asit will only affect that particular service and its associates.Other servicescankeep running. • Highly Observable : The services should collect as much information to analyzewhat is happening within eachof them like log events andstats. Microservices Principles Contd..
  • 7. For Microservices Online Training : +91-999 123 502 Monolithic vs.N-Layervs.SOAvs.Microservices Monolithic: Single Unit Multi Units: N- Layer/SOA Smaller Units: Microservices
  • 8. For Microservices Online Training : +91-999 123 502 Microservices Architecture Client API Gateway Service 1 Service 2 Service
  • 9. For Microservices Online Training : +91-999 123 502 • Largeapplications that require ahigh releasevelocity. • Complexapplications that need to be highlyscalable. • Applications with rich domains or manysubdomains. • Anorganization that consists of small developmentteams. When to useMicroservices Architecture
  • 10. For Microservices Online Training : +91-999 123 502 • Languageindependent and framework independent. • Independently develop, deploy, redeploy, version and scalecomponent servicesin secondswithout compromising the integrity of anapplication • Better fault isolation keepsother servicesto work even onfailure. • Zerodowntime upgrades. • Servicescanbe of from different servers or even from different datacenters. • Reliable and self-healing. • Supports continuous integration anddelivery. • Easyto integrate with third parties. Advantages of Microservices
  • 11. For Microservices Online Training : +91-999 123 502 • Complexity - A microservices application is more complex as compared to the equivalent monolithic application. • Development and testing - Building and testing a service that relies on other servicesneed domains understanding and refactoring them canbe difficult. • Lack of governance - The decentralized approach to building microservices has advantages, but it also lead to so many problems like maintenance becauseof many different languagesand frameworks. • Network congestion and latency - The use of many small, services can result into additional latency because of interservice communication and a long chain of service dependencies. So design APIs carefully and use asynchronous communication patterns. Challenges of Microservices
  • 12. For Microservices Online Training : +91-999 123 502 • Data Integrity - E ach microservice is responsible for its own data persistence.Asaresult, data consistency canbe achallenge. • Management - T o be successful with microservices requires a mature DevOps culture. Correlated logging across services can be challenging for a single user operation. • Versioning - Be careful while updating a service. It must not break services that depend on it. So without careful design, you might have problems with backward or forwardcompatibility. • Skillset - Microservices are highly distributed systems. Soneed a skilled and experience team to implement it. Challenges of Microservices Contd..
  • 13. For Microservices Online Training : +91-999 123 502 Tools/IDE: Getting started with Microservices
  • 14. For Microservices Online Training : +91-999 123 502 Development Frameworks
  • 15. For Microservices Online Training : +91-999 123 502 Development Tools Visual Studio www.visualstudio.microsoft.co m/ VS Code www.code.visualstudio.co m/ Docker www.code.docker.co m/
  • 16. For Microservices Online Training : +91-999 123 502 Microservices APIGateways Azure API Management Ocelot API Gateway Traefik (traffic)
  • 17. For Microservices Online Training : +91-999 123 502 DesignPatterns for Microservices Decomposition Patterns • Decompose by Business Capability • Decompose by Subdomain • Strangler Pattern Integration Patterns • API Gateway Pattern • Aggregator Pattern • Client-Side UI Composition Pattern Database Patterns • Database per Service • Shared Database per Service • CQRS Pattern • Saga Pattern Communication Patterns • Request/Response Pattern • Messaging Pattern • Event Driven Pattern Deployment Patterns • Multiple Service Instances per Host • Service Instance per Host • Serverless Deployment • Service Deployment Platform
  • 18. For Microservices Online Training : +91-999 123 502 DesignPatterns for Microservices Observability Patterns • Log Aggregation • Performance Metrics • Distributed Tracing • Health Check Cross-Cutting Concern Patterns • Externalized Configuration • Service Discovery Pattern • Circuit Breaker Pattern