SlideShare a Scribd company logo
1 of 20
Microservices
R M Shahidul Islam Shahed
What are microservices?
Microservices - also known as the microservice architecture - is an architectural
style that structures an application as a collection of services that are
★ Highly maintainable and testable
★ Loosely coupled
★ Independently deployable
★ Organized around business capabilities.
What are microservices?
Microservices are a way of breaking large software projects into loosely coupled
modules, which communicate with each other through simple Application
Programming Interfaces (APIs).
Based on the philosophy of breaking large software projects into smaller,
independent, and loosely coupled modules.
Monolithic Architecture
Microservice Architecture
Microservices vs Monolithic
Microservices vs SOA
Utilization of MicroServices By
Best Practices
★ Find the best microservices architecture
★ Outline your microservices
★ Domain-Driven Design
★ Get everyone onboard
★ Utilize RESTful APIs
★ Build teams for specific microservices
Best Practices
★ Setup server and data storage environment
★ Document API’s
★ Use the best DevOps toolkit
★ Monitoring is key, monitor everything with a tool
★ Use automatic security updates
Benefits of Microservices
★ Follow the Single Responsibility Principle
★ Resilient/Flexible – failure in one service does not impact other services. If you
have monolithic or bulky service errors in one service/module it can impact
other modules/functionality.
★ High scalability – demanding services can be deployed in multiple servers to
enhance performance and keep away from other services so that they don’t
impact other services. Will be difficult to achieve same with single, large
monolithic service.
Benefits of Microservices
★ Easy to enhance – less dependency and easy to change and test
★ Low impact on other services – being an independent service, this has less
chance to impact other services
★ Easy to understand since they represent the small piece of functionality
★ Ease of deployment
★ Freedom to choose technology – allows you to choose technology that is
best suited for a particular functionality
Disadvantages of Microservices
★ Multiple databases and transaction management can be painful.
★ Testing a microservices-based application can be cumbersome.
★ Deploying microservices can be complex.
★ Inter Service Communication
★ Health Monitoring
★ Distributed logging
★ Cyclic dependencies between services
Reference
1. https://github.com/mfornos/awesome-microservices
2. https://github.com/dotnet-architecture/eShopOnContainers
3. https://microservices.io/
4. https://www.amazon.com/gp/product/1617294543
5. https://www.redhat.com/en/topics/microservices/what-are-microservices
6. https://www.qat.com/15-benefits-microservices/
7. https://dzone.com/articles/microservices-vs-soa-whats-the-difference
8. https://medium.com/@kikchee/microservices-vs-soa-is-there-any-difference-at-all-2a1e3b66e1be
9. https://www.devteam.space/blog/10-best-practices-for-building-a-microservice-architecture/
10. https://www.nginx.com/blog/introduction-to-microservices/
11. https://dotnet.microsoft.com/learn/web/microservices-architecture
12. https://www.c-sharpcorner.com/article/microservice-using-asp-net-core/
13. https://github.com/GoogleCloudPlatform/microservices-demo

More Related Content

What's hot

2.2 connect sysctr_2_public_cloud_final
2.2 connect sysctr_2_public_cloud_final2.2 connect sysctr_2_public_cloud_final
2.2 connect sysctr_2_public_cloud_final
Paulo Freitas
 

What's hot (7)

2.2 connect sysctr_2_public_cloud_final
2.2 connect sysctr_2_public_cloud_final2.2 connect sysctr_2_public_cloud_final
2.2 connect sysctr_2_public_cloud_final
 
ORACLE SOA - IBANK
ORACLE SOA - IBANKORACLE SOA - IBANK
ORACLE SOA - IBANK
 
Understanding Microservice Architecture WSO2Con Asia 2016
Understanding Microservice Architecture WSO2Con Asia 2016 Understanding Microservice Architecture WSO2Con Asia 2016
Understanding Microservice Architecture WSO2Con Asia 2016
 
Mule esb mmc
Mule esb mmcMule esb mmc
Mule esb mmc
 
Introduction to WSO2 Integration Platform
Introduction to WSO2 Integration PlatformIntroduction to WSO2 Integration Platform
Introduction to WSO2 Integration Platform
 
WSO2Con EU 2016: New IT Business Models and Open Source Middleware Economic ...
WSO2Con EU 2016: New IT Business Models and Open Source  Middleware Economic ...WSO2Con EU 2016: New IT Business Models and Open Source  Middleware Economic ...
WSO2Con EU 2016: New IT Business Models and Open Source Middleware Economic ...
 
Anypoint platform security components
Anypoint platform security componentsAnypoint platform security components
Anypoint platform security components
 

Similar to Microservices

MICROSERVICES ARCHITECTURE unit -2.pptx
MICROSERVICES ARCHITECTURE unit -2.pptxMICROSERVICES ARCHITECTURE unit -2.pptx
MICROSERVICES ARCHITECTURE unit -2.pptx
MohammedShahid562503
 

Similar to Microservices (20)

Microservices.pdf
Microservices.pdfMicroservices.pdf
Microservices.pdf
 
Introduction to Microservices.pdf
Introduction to Microservices.pdfIntroduction to Microservices.pdf
Introduction to Microservices.pdf
 
Microservices: Detailed Guide
Microservices: Detailed GuideMicroservices: Detailed Guide
Microservices: Detailed Guide
 
MICROSERVICES ARCHITECTURE unit -2.pptx
MICROSERVICES ARCHITECTURE unit -2.pptxMICROSERVICES ARCHITECTURE unit -2.pptx
MICROSERVICES ARCHITECTURE unit -2.pptx
 
Microservices Tutorial for Beginners | All You Need to Get Started
Microservices Tutorial for Beginners | All You Need to Get StartedMicroservices Tutorial for Beginners | All You Need to Get Started
Microservices Tutorial for Beginners | All You Need to Get Started
 
What are the Advantages and Disadvantages of Microservices?
What are the Advantages and Disadvantages of Microservices? What are the Advantages and Disadvantages of Microservices?
What are the Advantages and Disadvantages of Microservices?
 
Building Microservices with Ruby on Rails: Maximizing Efficiency and Scalability
Building Microservices with Ruby on Rails: Maximizing Efficiency and ScalabilityBuilding Microservices with Ruby on Rails: Maximizing Efficiency and Scalability
Building Microservices with Ruby on Rails: Maximizing Efficiency and Scalability
 
DevOps-training-in-chandigarh-Join-now--
DevOps-training-in-chandigarh-Join-now--DevOps-training-in-chandigarh-Join-now--
DevOps-training-in-chandigarh-Join-now--
 
Micro Services Architecture
Micro Services ArchitectureMicro Services Architecture
Micro Services Architecture
 
MicroserviceArchitecture in detail over Monolith.
MicroserviceArchitecture in detail over Monolith.MicroserviceArchitecture in detail over Monolith.
MicroserviceArchitecture in detail over Monolith.
 
A Guide on What Are Microservices: Pros, Cons, Use Cases, and More
A Guide on What Are Microservices: Pros, Cons, Use Cases, and MoreA Guide on What Are Microservices: Pros, Cons, Use Cases, and More
A Guide on What Are Microservices: Pros, Cons, Use Cases, and More
 
Diving Into Reactive Microservices
Diving Into Reactive MicroservicesDiving Into Reactive Microservices
Diving Into Reactive Microservices
 
Microservice Architecture Software Architecture Microservice Design Pattern
Microservice Architecture Software Architecture Microservice Design PatternMicroservice Architecture Software Architecture Microservice Design Pattern
Microservice Architecture Software Architecture Microservice Design Pattern
 
Explain the Role of Microservices in Cloud-native Architecture
Explain the Role of Microservices in Cloud-native ArchitectureExplain the Role of Microservices in Cloud-native Architecture
Explain the Role of Microservices in Cloud-native Architecture
 
Microservices: A Step Towards Modernizing Healthcare Applications
Microservices: A Step Towards Modernizing Healthcare ApplicationsMicroservices: A Step Towards Modernizing Healthcare Applications
Microservices: A Step Towards Modernizing Healthcare Applications
 
Discussion About Microservices Architecture
Discussion About Microservices ArchitectureDiscussion About Microservices Architecture
Discussion About Microservices Architecture
 
SELECTION MECHANISM OF MICRO-SERVICES ORCHESTRATION VS. CHOREOGRAPHY
SELECTION MECHANISM OF MICRO-SERVICES ORCHESTRATION VS. CHOREOGRAPHY SELECTION MECHANISM OF MICRO-SERVICES ORCHESTRATION VS. CHOREOGRAPHY
SELECTION MECHANISM OF MICRO-SERVICES ORCHESTRATION VS. CHOREOGRAPHY
 
SELECTION MECHANISM OF MICRO-SERVICES ORCHESTRATION VS. CHOREOGRAPHY
SELECTION MECHANISM OF MICRO-SERVICES ORCHESTRATION VS. CHOREOGRAPHYSELECTION MECHANISM OF MICRO-SERVICES ORCHESTRATION VS. CHOREOGRAPHY
SELECTION MECHANISM OF MICRO-SERVICES ORCHESTRATION VS. CHOREOGRAPHY
 
Cloud native-microservices
Cloud native-microservicesCloud native-microservices
Cloud native-microservices
 
Microservices with mule
Microservices with muleMicroservices with mule
Microservices with mule
 

Recently uploaded

Recently uploaded (20)

AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdf
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 

Microservices

  • 2. What are microservices? Microservices - also known as the microservice architecture - is an architectural style that structures an application as a collection of services that are ★ Highly maintainable and testable ★ Loosely coupled ★ Independently deployable ★ Organized around business capabilities.
  • 3. What are microservices? Microservices are a way of breaking large software projects into loosely coupled modules, which communicate with each other through simple Application Programming Interfaces (APIs). Based on the philosophy of breaking large software projects into smaller, independent, and loosely coupled modules.
  • 5.
  • 7.
  • 9.
  • 10.
  • 12.
  • 13.
  • 15. Best Practices ★ Find the best microservices architecture ★ Outline your microservices ★ Domain-Driven Design ★ Get everyone onboard ★ Utilize RESTful APIs ★ Build teams for specific microservices
  • 16. Best Practices ★ Setup server and data storage environment ★ Document API’s ★ Use the best DevOps toolkit ★ Monitoring is key, monitor everything with a tool ★ Use automatic security updates
  • 17. Benefits of Microservices ★ Follow the Single Responsibility Principle ★ Resilient/Flexible – failure in one service does not impact other services. If you have monolithic or bulky service errors in one service/module it can impact other modules/functionality. ★ High scalability – demanding services can be deployed in multiple servers to enhance performance and keep away from other services so that they don’t impact other services. Will be difficult to achieve same with single, large monolithic service.
  • 18. Benefits of Microservices ★ Easy to enhance – less dependency and easy to change and test ★ Low impact on other services – being an independent service, this has less chance to impact other services ★ Easy to understand since they represent the small piece of functionality ★ Ease of deployment ★ Freedom to choose technology – allows you to choose technology that is best suited for a particular functionality
  • 19. Disadvantages of Microservices ★ Multiple databases and transaction management can be painful. ★ Testing a microservices-based application can be cumbersome. ★ Deploying microservices can be complex. ★ Inter Service Communication ★ Health Monitoring ★ Distributed logging ★ Cyclic dependencies between services
  • 20. Reference 1. https://github.com/mfornos/awesome-microservices 2. https://github.com/dotnet-architecture/eShopOnContainers 3. https://microservices.io/ 4. https://www.amazon.com/gp/product/1617294543 5. https://www.redhat.com/en/topics/microservices/what-are-microservices 6. https://www.qat.com/15-benefits-microservices/ 7. https://dzone.com/articles/microservices-vs-soa-whats-the-difference 8. https://medium.com/@kikchee/microservices-vs-soa-is-there-any-difference-at-all-2a1e3b66e1be 9. https://www.devteam.space/blog/10-best-practices-for-building-a-microservice-architecture/ 10. https://www.nginx.com/blog/introduction-to-microservices/ 11. https://dotnet.microsoft.com/learn/web/microservices-architecture 12. https://www.c-sharpcorner.com/article/microservice-using-asp-net-core/ 13. https://github.com/GoogleCloudPlatform/microservices-demo