SlideShare a Scribd company logo
Microservices Architecture
Mohamad Farhani
Architectural style
This is not new!
The old new thing...
SOA
service oriented architecture
• Modernized version of SOA
New world:
• Speed of delivery
• Scalability
• Cloud / devops
VS
Monolith microservices
PRESENTATION LAYER
BUSINESS LOGIC LAYER
DATABASE LAYER
A monolith Module
A
Module
B
Module
c
Module
D
VS
monolith microservices
PRESENTATION LAYER
BUSINESS LOGIC LAYER
DATABASE LAYER
microservices
API API
BUSINESS LOGIC
LAYER
DATABASE LAYER
consume
Produce
Microservice 1
Microservice 2
Modularity
Autonomous
hide implementation details
Stateless
highly observable
principles
Modularity (TEAM)
UI - team
Dba - team
SERVER
UI dba
SERVER
dbaUI
dba
SERVER
UI
SERVER - team
monolith microservices
autonomous
autonomous
monolith microservices
hide implementation details
API
-http
-rest
-json
API
http-
Rest-
Json-
stateless
(1)
(2)
A stateless server is a server that treats each request as an
independent transaction that is unrelated to any previous
request
Highly observable
Logs
Highly observable
Centralized logging
Highly observable
Centralized logging
Highly observable
monitoring
Modularity
Autonomous
hide implementation details
Automation
Stateless
highly observable
principles
Advantages
Polyglot architecture
- The right technology for the job
- reduce technical debt
Evolutionary design
- Remove
- Add
- Replace
- Experimental microservice
Selective scalability
Nb users > 500
Big vs small
Smaller code base
Simpler to develop / test / deploy / scale
Start faster
Easier for new developers
drawbacks
• Distributed system
- Consistency
- Request travelling
• Slow (http)
• Multiple databases
• Integration tests
Conclusion:
• The Microservices architecture is more complex
Than a monolith.
• This is the cost of growing and scaling easily
Microservices ecosystem
Load balancer
Load balancer
Service discovery
server
I want TO TALK TO
THE PRODUCT
SERVICE !
Here is the product
service !
Service discovery
Service discovery (load balancing)
Service discovery
server
I want TO TALK TO
THE PRODUCT
SERVICE !
Here is one instance of
product service !
Api Gateway
API Gateway
Browser UI
e.g. angular 2
Mobile app
THANKS !

More Related Content

What's hot (20)

PDF
Integration Microservices
Kasun Indrasiri
 
PPTX
Lightweight ESB Alternatives
Chris Haddad
 
PDF
[WSO2 API Day Dallas 2019] Extending Service Mesh with API Management
WSO2
 
PPTX
Microservice-based Architecture on the Salesforce App Cloud
pbattisson
 
PPTX
Microservice architecture
Touraj Ebrahimi
 
PDF
Api Management with Service Mesh
Lakmal Warusawithana
 
PPTX
Integrating microservices in the cloud
Jason Bloomberg
 
PDF
Dockerized Microservices
inovex GmbH
 
PDF
Deep-dive into Microservice Outer Architecture
WSO2
 
PDF
Road to Microservices
Salvatore Cordiano
 
PDF
Service Mesh - kilometer 30 in a microservice marathon
Michael Hofmann
 
PDF
Understanding the WSO2 Platform and Technology
WSO2
 
PDF
[WSO2Con EU 2017] Cloud-Native API Management
WSO2
 
PPTX
Microservice vs. Monolithic Architecture
Paul Mooney
 
PDF
Introduction to Microservices
Yury Kisliak
 
PDF
WSO2 Use Case - API Facade Pattern
WSO2
 
PPTX
Eight Miles High: Build Cloud-native and Cloud-aware Systems
Chris Haddad
 
PDF
Liferay as a Microservice Platform
Daniel Reuther
 
PPTX
Manageability of Windows Azure BizTalk Services (WABS)
BizTalk360
 
PDF
AWS Api Gateway by Łukasz Marchewka Scalacc
Scalac
 
Integration Microservices
Kasun Indrasiri
 
Lightweight ESB Alternatives
Chris Haddad
 
[WSO2 API Day Dallas 2019] Extending Service Mesh with API Management
WSO2
 
Microservice-based Architecture on the Salesforce App Cloud
pbattisson
 
Microservice architecture
Touraj Ebrahimi
 
Api Management with Service Mesh
Lakmal Warusawithana
 
Integrating microservices in the cloud
Jason Bloomberg
 
Dockerized Microservices
inovex GmbH
 
Deep-dive into Microservice Outer Architecture
WSO2
 
Road to Microservices
Salvatore Cordiano
 
Service Mesh - kilometer 30 in a microservice marathon
Michael Hofmann
 
Understanding the WSO2 Platform and Technology
WSO2
 
[WSO2Con EU 2017] Cloud-Native API Management
WSO2
 
Microservice vs. Monolithic Architecture
Paul Mooney
 
Introduction to Microservices
Yury Kisliak
 
WSO2 Use Case - API Facade Pattern
WSO2
 
Eight Miles High: Build Cloud-native and Cloud-aware Systems
Chris Haddad
 
Liferay as a Microservice Platform
Daniel Reuther
 
Manageability of Windows Azure BizTalk Services (WABS)
BizTalk360
 
AWS Api Gateway by Łukasz Marchewka Scalacc
Scalac
 

Similar to Microservices architecture (20)

PPTX
Introduction to microservices
Anil Allewar
 
PPTX
Containers and microservices create new performance challenges kowall - app...
Jonah Kowall
 
PDF
AppSphere 15 - Containers and Microservices Create New Performance Challenges
AppDynamics
 
PDF
Ekon20 mORMot SOA Delphi Conference
Arnaud Bouchez
 
PPTX
DevoxxBelgium_StatefulCloud.pptx
Grace Jansen
 
PPTX
Micro service session 1
Amin Arab
 
PPTX
UtrechtJUG_Exploring statefulmicroservices in a cloud-native world.pptx
Grace Jansen
 
PPTX
Micro Services Architecture
Rabbani Mohideen
 
PPTX
70 533 - Module 01 - Introduction to Azure
Georges-Emmanuel TOPE
 
PDF
Microservices: Architecture to Support Agile
Eberhard Wolff
 
PPTX
Microservices Part 3 Service Mesh and Kafka
Araf Karsh Hamid
 
PPTX
Innovation in Architecture
Thoughtworks
 
PDF
400.RED HAT OPENSHIFT APPLICATION RUNTIMES(RHOAR) 를 활용한 Cloud Native App 전환
Opennaru, inc.
 
PDF
WSO2 Micro Integrator for Enterprise Integration in a Decentralized, Microser...
WSO2
 
PPT
why cloud loves soa
Alberto Lagna
 
PDF
Monolithic to Microservices Architecture
Vin Dahake
 
ODP
Microservice Architecture JavaCro 2015
Nenad Pecanac
 
PDF
Stay productive while slicing up the monolith
Markus Eisele
 
PDF
Stay productive while slicing up the monolith
Markus Eisele
 
PPTX
Monoliths to Microservices with Jave EE and Spring Boot
Tiera Fann, MBA
 
Introduction to microservices
Anil Allewar
 
Containers and microservices create new performance challenges kowall - app...
Jonah Kowall
 
AppSphere 15 - Containers and Microservices Create New Performance Challenges
AppDynamics
 
Ekon20 mORMot SOA Delphi Conference
Arnaud Bouchez
 
DevoxxBelgium_StatefulCloud.pptx
Grace Jansen
 
Micro service session 1
Amin Arab
 
UtrechtJUG_Exploring statefulmicroservices in a cloud-native world.pptx
Grace Jansen
 
Micro Services Architecture
Rabbani Mohideen
 
70 533 - Module 01 - Introduction to Azure
Georges-Emmanuel TOPE
 
Microservices: Architecture to Support Agile
Eberhard Wolff
 
Microservices Part 3 Service Mesh and Kafka
Araf Karsh Hamid
 
Innovation in Architecture
Thoughtworks
 
400.RED HAT OPENSHIFT APPLICATION RUNTIMES(RHOAR) 를 활용한 Cloud Native App 전환
Opennaru, inc.
 
WSO2 Micro Integrator for Enterprise Integration in a Decentralized, Microser...
WSO2
 
why cloud loves soa
Alberto Lagna
 
Monolithic to Microservices Architecture
Vin Dahake
 
Microservice Architecture JavaCro 2015
Nenad Pecanac
 
Stay productive while slicing up the monolith
Markus Eisele
 
Stay productive while slicing up the monolith
Markus Eisele
 
Monoliths to Microservices with Jave EE and Spring Boot
Tiera Fann, MBA
 
Ad

Recently uploaded (20)

PDF
Message Level Status (MLS): The Instant Feedback Mechanism for UAE e-Invoicin...
Prachi Desai
 
PDF
AI Software Engineering based on Multi-view Modeling and Engineering Patterns
Hironori Washizaki
 
PPTX
API DOCUMENTATION | API INTEGRATION PLATFORM
philipnathen82
 
PDF
Troubleshooting Virtual Threads in Java!
Tier1 app
 
PPTX
prodad heroglyph crack 2.0.214.2 Full Free Download
cracked shares
 
PDF
SAP GUI Installation Guide for macOS (iOS) | Connect to SAP Systems on Mac
SAP Vista, an A L T Z E N Company
 
PPTX
Cutting Optimization Pro 5.18.2 Crack With Free Download
cracked shares
 
PDF
Step-by-Step Guide to Install SAP HANA Studio | Complete Installation Tutoria...
SAP Vista, an A L T Z E N Company
 
PDF
custom development enhancement | Togglenow.pdf
aswinisuhu
 
PPTX
SAP Public Cloud PPT , SAP PPT, Public Cloud PPT
sonawanekundan2024
 
PDF
Optimizing Tiered Storage for Low-Latency Real-Time Analytics at AI Scale
Alluxio, Inc.
 
PDF
How to Download and Install ADT (ABAP Development Tools) for Eclipse IDE | SA...
SAP Vista, an A L T Z E N Company
 
PDF
How to get the licensing right for Microsoft Core Infrastructure Server Suite...
Q-Advise
 
PPTX
Transforming Lending with IntelliGrow – Advanced Loan Software Solutions
Intelli grow
 
PDF
Ready Layer One: Intro to the Model Context Protocol
mmckenna1
 
PDF
Introduction to Apache Iceberg™ & Tableflow
Alluxio, Inc.
 
PDF
Why Are More Businesses Choosing Partners Over Freelancers for Salesforce.pdf
Cymetrix Software
 
PPTX
PCC IT Forum 2025 - Legislative Technology Snapshot
Gareth Oakes
 
PDF
How Attendance Management Software is Revolutionizing Education.pdf
Pikmykid
 
PPTX
Odoo Migration Services by CandidRoot Solutions
CandidRoot Solutions Private Limited
 
Message Level Status (MLS): The Instant Feedback Mechanism for UAE e-Invoicin...
Prachi Desai
 
AI Software Engineering based on Multi-view Modeling and Engineering Patterns
Hironori Washizaki
 
API DOCUMENTATION | API INTEGRATION PLATFORM
philipnathen82
 
Troubleshooting Virtual Threads in Java!
Tier1 app
 
prodad heroglyph crack 2.0.214.2 Full Free Download
cracked shares
 
SAP GUI Installation Guide for macOS (iOS) | Connect to SAP Systems on Mac
SAP Vista, an A L T Z E N Company
 
Cutting Optimization Pro 5.18.2 Crack With Free Download
cracked shares
 
Step-by-Step Guide to Install SAP HANA Studio | Complete Installation Tutoria...
SAP Vista, an A L T Z E N Company
 
custom development enhancement | Togglenow.pdf
aswinisuhu
 
SAP Public Cloud PPT , SAP PPT, Public Cloud PPT
sonawanekundan2024
 
Optimizing Tiered Storage for Low-Latency Real-Time Analytics at AI Scale
Alluxio, Inc.
 
How to Download and Install ADT (ABAP Development Tools) for Eclipse IDE | SA...
SAP Vista, an A L T Z E N Company
 
How to get the licensing right for Microsoft Core Infrastructure Server Suite...
Q-Advise
 
Transforming Lending with IntelliGrow – Advanced Loan Software Solutions
Intelli grow
 
Ready Layer One: Intro to the Model Context Protocol
mmckenna1
 
Introduction to Apache Iceberg™ & Tableflow
Alluxio, Inc.
 
Why Are More Businesses Choosing Partners Over Freelancers for Salesforce.pdf
Cymetrix Software
 
PCC IT Forum 2025 - Legislative Technology Snapshot
Gareth Oakes
 
How Attendance Management Software is Revolutionizing Education.pdf
Pikmykid
 
Odoo Migration Services by CandidRoot Solutions
CandidRoot Solutions Private Limited
 
Ad

Microservices architecture

Editor's Notes

  • #3: The term "Microservice Architecture" has sprung up over the last few years to describe a particular way of designing software applications as suites of independently deployable services. While there is no precise definition of this architectural style, there are certain common characteristics around organization around business capability, automated deployment, intelligence in the endpoints, and decentralized control of languages and data.
  • #6: in software engineering, a monolithic application describes a single-tiered software application in which the user interface and data access code are combined into a single program from a single platform
  • #13: EAR: All above files (.jar and .war) are packaged as JAR file with .ear (enterprise archive) extension and deployed into Application Server. A WAR (Web Archive) is a module that gets loaded into a Web container of a Java Application Server. Basically EAR files are a superset containing WAR files and JAR files.
  • #15: Easier to scale / recover from failure
  • #27: Transactions: Increased Processing overhead – It costs many messages to be shared between sites to complete a distributed transaction.
  • #32: API gateway Insulates the clients from how the application is partitioned into microservices insulate the clients from the problem of determining the locations of service instances Provides the optimal API for each client Reduces the number of requests / roundtrips. Backend for front end