際際滷

際際滷Share a Scribd company logo
Introduction to Microservices  A peek into Hexagonal Architecture vs. a layered one
UI / Presentation
Application
Integration
Persistence / Mock DB
DB
Test Agent
A layered architecture:
Architectural components stacked up and communicating over
interfaces to form a monolith. Actual implementation details (threads,
contexts) tend to leak across layers and make the architecture harder
to scale and maintain for the inherent complexities.
A hexagonal (Microservice) architecture:
Loosely coupled contexts and independent architectural components communicating via
ports, adapters and binding based dependencies only. Applications can be seamlessly
scaled without bounds. Maintenances are simple and customizable to the NFR / business
asks of each components.
Application
Port
Adapter
Adapter
Port
Port
UI / Presentation
Adapter
Test Agent
Integration
Port
Adapter
Persistence / Mock DB
DB
Use case
boundary
Anatomy of a typical microservice, architecture and development environment
Application
Application logs
PortAdapter
Adapter
Security provider
Network / Infrastructure
Adapter
Application con鍖g
Environment con鍖g
Port
Auth Services
Port
Logging tools
Security token
Subscriptions
Adapter
Network con鍖gs
Port
The API accelerators
AdapterPort
Adapter
Legend
Con鍖gurations
Accelerators - Code / API/ Frameworks / Scaffolding generation
Development efforts
Proprietary / 3rd Party Systems
API Proxy / Gateway
Adapter
Adapter
Sidecar
Kubernetes Pods
SERVICE
BROKER
Agile Feature / Component Teams
Feature team 1 Feature team 2 Component team
Adapter
Marketplace Services
Service registry DB services
Log analytics services
API metrics services
Big Data adapters
Autoscaling services
Message queue services
Cloud Broker Services
Kubernetes Pods
Mesh of Microservice aggregates
Sidecar
Ad

Recommended

Be an integration superhero with Azure and build API-enabled and connected en...
Be an integration superhero with Azure and build API-enabled and connected en...
Microsoft Tech Community
Android remote application publishing framework
Android remote application publishing framework
Sandeep Marathe
Entity framework
Entity framework
Tamer Elshahat
Spring_Course_Content
Spring_Course_Content
MV Solutions
e-SUAP - General software architecture (English)
e-SUAP - General software architecture (English)
Sabino Labarile
VIPER
VIPER
Vikas Kore
Middleware often sits between the operating system and applications on differ...
Middleware often sits between the operating system and applications on differ...
Matthew Warner
Suiteflex Application Development
Suiteflex Application Development
NetSuite
Microservice architecture
Microservice architecture
Touraj Ebrahimi
MicroServices-Part-1.pdf
MicroServices-Part-1.pdf
chanhluc2112
Microservices architecture
Microservices architecture
Abid Khan
Microservices architecture
Microservices architecture
Mohammad Dameer
Microservices - Hitchhiker's guide to cloud native applications
Microservices - Hitchhiker's guide to cloud native applications
Stijn Van Den Enden
Hexagonal architecture for java applications
Hexagonal architecture for java applications
Fabricio Epaminondas
Microservices Architecture & Testing Strategies
Microservices Architecture & Testing Strategies
Araf Karsh Hamid
Understanding MicroSERVICE Architecture with Java & Spring Boot
Understanding MicroSERVICE Architecture with Java & Spring Boot
Kashif Ali Siddiqui
Microservice - Intro and Discussion
Microservice - Intro and Discussion
SagarDevkota8
Microservices Part 3 Service Mesh and Kafka
Microservices Part 3 Service Mesh and Kafka
Araf Karsh Hamid
Microservices Interview Questions and Answers PDF By ScholarHat
Microservices Interview Questions and Answers PDF By ScholarHat
Scholarhat
Spring cloud-netflix-oss-microservices
Spring cloud-netflix-oss-microservices
Staples
Hexagonal Architecture using Grails
Hexagonal Architecture using Grails
David Dawson
apidays Paris 2024 - Hexagonal Modules, Adil Baaj, Theodo
apidays Paris 2024 - Hexagonal Modules, Adil Baaj, Theodo
apidays
Micro services Architecture
Micro services Architecture
Araf Karsh Hamid
JFokus: Cubes, Hexagons, Triangles, and More: Understanding Microservices
JFokus: Cubes, Hexagons, Triangles, and More: Understanding Microservices
Chris Richardson
Design patterns for microservice architecture
Design patterns for microservice architecture
The Software House
Microservices architecture
Microservices architecture
Mohamad Farhani
Microservices, Docker deploy and Microservices source code in C#
Microservices, Docker deploy and Microservices source code in C#
Karmanjay Verma
How to grow your own Microservice?
How to grow your own Microservice?
Dmitry Buzdin
How Automation in Claims Handling Streamlined Operations
How Automation in Claims Handling Streamlined Operations
Insurance Tech Services
OpenChain Webinar - AboutCode - Practical Compliance in One Stack Licensing...
OpenChain Webinar - AboutCode - Practical Compliance in One Stack Licensing...
Shane Coughlan

More Related Content

Similar to Microservices - why's and how's (20)

Microservice architecture
Microservice architecture
Touraj Ebrahimi
MicroServices-Part-1.pdf
MicroServices-Part-1.pdf
chanhluc2112
Microservices architecture
Microservices architecture
Abid Khan
Microservices architecture
Microservices architecture
Mohammad Dameer
Microservices - Hitchhiker's guide to cloud native applications
Microservices - Hitchhiker's guide to cloud native applications
Stijn Van Den Enden
Hexagonal architecture for java applications
Hexagonal architecture for java applications
Fabricio Epaminondas
Microservices Architecture & Testing Strategies
Microservices Architecture & Testing Strategies
Araf Karsh Hamid
Understanding MicroSERVICE Architecture with Java & Spring Boot
Understanding MicroSERVICE Architecture with Java & Spring Boot
Kashif Ali Siddiqui
Microservice - Intro and Discussion
Microservice - Intro and Discussion
SagarDevkota8
Microservices Part 3 Service Mesh and Kafka
Microservices Part 3 Service Mesh and Kafka
Araf Karsh Hamid
Microservices Interview Questions and Answers PDF By ScholarHat
Microservices Interview Questions and Answers PDF By ScholarHat
Scholarhat
Spring cloud-netflix-oss-microservices
Spring cloud-netflix-oss-microservices
Staples
Hexagonal Architecture using Grails
Hexagonal Architecture using Grails
David Dawson
apidays Paris 2024 - Hexagonal Modules, Adil Baaj, Theodo
apidays Paris 2024 - Hexagonal Modules, Adil Baaj, Theodo
apidays
Micro services Architecture
Micro services Architecture
Araf Karsh Hamid
JFokus: Cubes, Hexagons, Triangles, and More: Understanding Microservices
JFokus: Cubes, Hexagons, Triangles, and More: Understanding Microservices
Chris Richardson
Design patterns for microservice architecture
Design patterns for microservice architecture
The Software House
Microservices architecture
Microservices architecture
Mohamad Farhani
Microservices, Docker deploy and Microservices source code in C#
Microservices, Docker deploy and Microservices source code in C#
Karmanjay Verma
How to grow your own Microservice?
How to grow your own Microservice?
Dmitry Buzdin
Microservice architecture
Microservice architecture
Touraj Ebrahimi
MicroServices-Part-1.pdf
MicroServices-Part-1.pdf
chanhluc2112
Microservices architecture
Microservices architecture
Abid Khan
Microservices architecture
Microservices architecture
Mohammad Dameer
Microservices - Hitchhiker's guide to cloud native applications
Microservices - Hitchhiker's guide to cloud native applications
Stijn Van Den Enden
Hexagonal architecture for java applications
Hexagonal architecture for java applications
Fabricio Epaminondas
Microservices Architecture & Testing Strategies
Microservices Architecture & Testing Strategies
Araf Karsh Hamid
Understanding MicroSERVICE Architecture with Java & Spring Boot
Understanding MicroSERVICE Architecture with Java & Spring Boot
Kashif Ali Siddiqui
Microservice - Intro and Discussion
Microservice - Intro and Discussion
SagarDevkota8
Microservices Part 3 Service Mesh and Kafka
Microservices Part 3 Service Mesh and Kafka
Araf Karsh Hamid
Microservices Interview Questions and Answers PDF By ScholarHat
Microservices Interview Questions and Answers PDF By ScholarHat
Scholarhat
Spring cloud-netflix-oss-microservices
Spring cloud-netflix-oss-microservices
Staples
Hexagonal Architecture using Grails
Hexagonal Architecture using Grails
David Dawson
apidays Paris 2024 - Hexagonal Modules, Adil Baaj, Theodo
apidays Paris 2024 - Hexagonal Modules, Adil Baaj, Theodo
apidays
Micro services Architecture
Micro services Architecture
Araf Karsh Hamid
JFokus: Cubes, Hexagons, Triangles, and More: Understanding Microservices
JFokus: Cubes, Hexagons, Triangles, and More: Understanding Microservices
Chris Richardson
Design patterns for microservice architecture
Design patterns for microservice architecture
The Software House
Microservices architecture
Microservices architecture
Mohamad Farhani
Microservices, Docker deploy and Microservices source code in C#
Microservices, Docker deploy and Microservices source code in C#
Karmanjay Verma
How to grow your own Microservice?
How to grow your own Microservice?
Dmitry Buzdin

Recently uploaded (20)

How Automation in Claims Handling Streamlined Operations
How Automation in Claims Handling Streamlined Operations
Insurance Tech Services
OpenChain Webinar - AboutCode - Practical Compliance in One Stack Licensing...
OpenChain Webinar - AboutCode - Practical Compliance in One Stack Licensing...
Shane Coughlan
Decipher SEO Solutions for your startup needs.
Decipher SEO Solutions for your startup needs.
mathai2
Key Challenges in Troubleshooting Customer On-Premise Applications
Key Challenges in Troubleshooting Customer On-Premise Applications
Tier1 app
Reimagining Software Development and DevOps with Agentic AI
Reimagining Software Development and DevOps with Agentic AI
Maxim Salnikov
SAP PM Module Level-IV Training Complete.ppt
SAP PM Module Level-IV Training Complete.ppt
MuhammadShaheryar36
Complete WordPress Programming Guidance Book
Complete WordPress Programming Guidance Book
Shabista Imam
arctitecture application system design os dsa
arctitecture application system design os dsa
za241967
Streamlining CI/CD with FME Flow: A Practical Guide
Streamlining CI/CD with FME Flow: A Practical Guide
Safe Software
Azure AI Foundry: The AI app and agent factory
Azure AI Foundry: The AI app and agent factory
Maxim Salnikov
Microsoft-365-Administrator-s-Guide1.pdf
Microsoft-365-Administrator-s-Guide1.pdf
mazharatknl
Folding Cheat Sheet # 9 - List Unfolding as the Computational Dual of ...
Folding Cheat Sheet # 9 - List Unfolding as the Computational Dual of ...
Philip Schwarz
Enable Your Cloud Journey With Microsoft Trusted Partner | IFI Tech
Enable Your Cloud Journey With Microsoft Trusted Partner | IFI Tech
IFI Techsolutions
Simplify Task, Team, and Project Management with Orangescrum Work
Simplify Task, Team, and Project Management with Orangescrum Work
Orangescrum
Why Every Growing Business Needs a Staff Augmentation Company IN USA.pdf
Why Every Growing Business Needs a Staff Augmentation Company IN USA.pdf
mary rojas
Zoho Creator Solution for EI by Elsner Technologies.docx
Zoho Creator Solution for EI by Elsner Technologies.docx
Elsner Technologies Pvt. Ltd.
Threat Modeling a Batch Job Framework - Teri Radichel - AWS re:Inforce 2025
Threat Modeling a Batch Job Framework - Teri Radichel - AWS re:Inforce 2025
2nd Sight Lab
Application Modernization with Choreo - The AI-Native Internal Developer Plat...
Application Modernization with Choreo - The AI-Native Internal Developer Plat...
WSO2
Sysinfo OST to PST Converter Infographic
Sysinfo OST to PST Converter Infographic
SysInfo Tools
Emvigo Capability Deck 2025: Accelerating Innovation Through Intelligent Soft...
Emvigo Capability Deck 2025: Accelerating Innovation Through Intelligent Soft...
Emvigo Technologies
How Automation in Claims Handling Streamlined Operations
How Automation in Claims Handling Streamlined Operations
Insurance Tech Services
OpenChain Webinar - AboutCode - Practical Compliance in One Stack Licensing...
OpenChain Webinar - AboutCode - Practical Compliance in One Stack Licensing...
Shane Coughlan
Decipher SEO Solutions for your startup needs.
Decipher SEO Solutions for your startup needs.
mathai2
Key Challenges in Troubleshooting Customer On-Premise Applications
Key Challenges in Troubleshooting Customer On-Premise Applications
Tier1 app
Reimagining Software Development and DevOps with Agentic AI
Reimagining Software Development and DevOps with Agentic AI
Maxim Salnikov
SAP PM Module Level-IV Training Complete.ppt
SAP PM Module Level-IV Training Complete.ppt
MuhammadShaheryar36
Complete WordPress Programming Guidance Book
Complete WordPress Programming Guidance Book
Shabista Imam
arctitecture application system design os dsa
arctitecture application system design os dsa
za241967
Streamlining CI/CD with FME Flow: A Practical Guide
Streamlining CI/CD with FME Flow: A Practical Guide
Safe Software
Azure AI Foundry: The AI app and agent factory
Azure AI Foundry: The AI app and agent factory
Maxim Salnikov
Microsoft-365-Administrator-s-Guide1.pdf
Microsoft-365-Administrator-s-Guide1.pdf
mazharatknl
Folding Cheat Sheet # 9 - List Unfolding as the Computational Dual of ...
Folding Cheat Sheet # 9 - List Unfolding as the Computational Dual of ...
Philip Schwarz
Enable Your Cloud Journey With Microsoft Trusted Partner | IFI Tech
Enable Your Cloud Journey With Microsoft Trusted Partner | IFI Tech
IFI Techsolutions
Simplify Task, Team, and Project Management with Orangescrum Work
Simplify Task, Team, and Project Management with Orangescrum Work
Orangescrum
Why Every Growing Business Needs a Staff Augmentation Company IN USA.pdf
Why Every Growing Business Needs a Staff Augmentation Company IN USA.pdf
mary rojas
Zoho Creator Solution for EI by Elsner Technologies.docx
Zoho Creator Solution for EI by Elsner Technologies.docx
Elsner Technologies Pvt. Ltd.
Threat Modeling a Batch Job Framework - Teri Radichel - AWS re:Inforce 2025
Threat Modeling a Batch Job Framework - Teri Radichel - AWS re:Inforce 2025
2nd Sight Lab
Application Modernization with Choreo - The AI-Native Internal Developer Plat...
Application Modernization with Choreo - The AI-Native Internal Developer Plat...
WSO2
Sysinfo OST to PST Converter Infographic
Sysinfo OST to PST Converter Infographic
SysInfo Tools
Emvigo Capability Deck 2025: Accelerating Innovation Through Intelligent Soft...
Emvigo Capability Deck 2025: Accelerating Innovation Through Intelligent Soft...
Emvigo Technologies
Ad

Microservices - why's and how's

  • 1. Introduction to Microservices A peek into Hexagonal Architecture vs. a layered one UI / Presentation Application Integration Persistence / Mock DB DB Test Agent A layered architecture: Architectural components stacked up and communicating over interfaces to form a monolith. Actual implementation details (threads, contexts) tend to leak across layers and make the architecture harder to scale and maintain for the inherent complexities. A hexagonal (Microservice) architecture: Loosely coupled contexts and independent architectural components communicating via ports, adapters and binding based dependencies only. Applications can be seamlessly scaled without bounds. Maintenances are simple and customizable to the NFR / business asks of each components. Application Port Adapter Adapter Port Port UI / Presentation Adapter Test Agent Integration Port Adapter Persistence / Mock DB DB Use case boundary
  • 2. Anatomy of a typical microservice, architecture and development environment Application Application logs PortAdapter Adapter Security provider Network / Infrastructure Adapter Application con鍖g Environment con鍖g Port Auth Services Port Logging tools Security token Subscriptions Adapter Network con鍖gs Port The API accelerators AdapterPort Adapter Legend Con鍖gurations Accelerators - Code / API/ Frameworks / Scaffolding generation Development efforts Proprietary / 3rd Party Systems API Proxy / Gateway Adapter Adapter Sidecar Kubernetes Pods SERVICE BROKER Agile Feature / Component Teams Feature team 1 Feature team 2 Component team Adapter Marketplace Services Service registry DB services Log analytics services API metrics services Big Data adapters Autoscaling services Message queue services Cloud Broker Services Kubernetes Pods Mesh of Microservice aggregates Sidecar