SlideShare 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 config
Environment config
Port
Auth Services
Port
Logging tools
Security token
Subscriptions
Adapter
Network configs
Port
The API accelerators
AdapterPort
Adapter
Legend
Configurations
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

More Related Content

PPTX
Be an integration superhero with Azure and build API-enabled and connected en...
PPT
Android remote application publishing framework
PPTX
Entity framework
PDF
Spring_Course_Content
PDF
e-SUAP - General software architecture (English)
ODP
VIPER
DOCX
Middleware often sits between the operating system and applications on differ...
PPT
Suiteflex Application Development
Be an integration superhero with Azure and build API-enabled and connected en...
Android remote application publishing framework
Entity framework
Spring_Course_Content
e-SUAP - General software architecture (English)
VIPER
Middleware often sits between the operating system and applications on differ...
Suiteflex Application Development

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

PPTX
Microservice architecture
PDF
MicroServices-Part-1.pdf
PPTX
Microservices architecture
PDF
Microservices architecture
PDF
Microservices - Hitchhiker's guide to cloud native applications
PDF
Hexagonal architecture for java applications
PPTX
Microservices Architecture & Testing Strategies
PDF
Understanding MicroSERVICE Architecture with Java & Spring Boot
PDF
Microservice - Intro and Discussion
PPTX
Microservices Part 3 Service Mesh and Kafka
PDF
Microservices Interview Questions and Answers PDF By ScholarHat
PPTX
Spring cloud-netflix-oss-microservices
PDF
Hexagonal Architecture using Grails
PPTX
apidays Paris 2024 - Hexagonal Modules, Adil Baaj, Theodo
PPTX
Micro services Architecture
PDF
JFokus: Cubes, Hexagons, Triangles, and More: Understanding Microservices
PDF
Design patterns for microservice architecture
PPTX
Microservices architecture
PPTX
Microservices, Docker deploy and Microservices source code in C#
PDF
How to grow your own Microservice?
Microservice architecture
MicroServices-Part-1.pdf
Microservices architecture
Microservices architecture
Microservices - Hitchhiker's guide to cloud native applications
Hexagonal architecture for java applications
Microservices Architecture & Testing Strategies
Understanding MicroSERVICE Architecture with Java & Spring Boot
Microservice - Intro and Discussion
Microservices Part 3 Service Mesh and Kafka
Microservices Interview Questions and Answers PDF By ScholarHat
Spring cloud-netflix-oss-microservices
Hexagonal Architecture using Grails
apidays Paris 2024 - Hexagonal Modules, Adil Baaj, Theodo
Micro services Architecture
JFokus: Cubes, Hexagons, Triangles, and More: Understanding Microservices
Design patterns for microservice architecture
Microservices architecture
Microservices, Docker deploy and Microservices source code in C#
How to grow your own Microservice?
Ad

Recently uploaded (20)

PDF
Cost to Outsource Software Development in 2025
PDF
Odoo Companies in India – Driving Business Transformation.pdf
PDF
iTop VPN Free 5.6.0.5262 Crack latest version 2025
PDF
How to Make Money in the Metaverse_ Top Strategies for Beginners.pdf
PDF
Digital Systems & Binary Numbers (comprehensive )
PDF
AI-Powered Threat Modeling: The Future of Cybersecurity by Arun Kumar Elengov...
PPTX
Oracle Fusion HCM Cloud Demo for Beginners
PDF
Design an Analysis of Algorithms I-SECS-1021-03
PDF
Download FL Studio Crack Latest version 2025 ?
PDF
Salesforce Agentforce AI Implementation.pdf
PDF
iTop VPN 6.5.0 Crack + License Key 2025 (Premium Version)
PDF
iTop VPN Crack Latest Version Full Key 2025
PPTX
Log360_SIEM_Solutions Overview PPT_Feb 2020.pptx
PDF
Tally Prime Crack Download New Version 5.1 [2025] (License Key Free
PDF
How AI/LLM recommend to you ? GDG meetup 16 Aug by Fariman Guliev
PDF
Product Update: Alluxio AI 3.7 Now with Sub-Millisecond Latency
PDF
17 Powerful Integrations Your Next-Gen MLM Software Needs
PPTX
Monitoring Stack: Grafana, Loki & Promtail
PDF
Designing Intelligence for the Shop Floor.pdf
PPTX
assetexplorer- product-overview - presentation
Cost to Outsource Software Development in 2025
Odoo Companies in India – Driving Business Transformation.pdf
iTop VPN Free 5.6.0.5262 Crack latest version 2025
How to Make Money in the Metaverse_ Top Strategies for Beginners.pdf
Digital Systems & Binary Numbers (comprehensive )
AI-Powered Threat Modeling: The Future of Cybersecurity by Arun Kumar Elengov...
Oracle Fusion HCM Cloud Demo for Beginners
Design an Analysis of Algorithms I-SECS-1021-03
Download FL Studio Crack Latest version 2025 ?
Salesforce Agentforce AI Implementation.pdf
iTop VPN 6.5.0 Crack + License Key 2025 (Premium Version)
iTop VPN Crack Latest Version Full Key 2025
Log360_SIEM_Solutions Overview PPT_Feb 2020.pptx
Tally Prime Crack Download New Version 5.1 [2025] (License Key Free
How AI/LLM recommend to you ? GDG meetup 16 Aug by Fariman Guliev
Product Update: Alluxio AI 3.7 Now with Sub-Millisecond Latency
17 Powerful Integrations Your Next-Gen MLM Software Needs
Monitoring Stack: Grafana, Loki & Promtail
Designing Intelligence for the Shop Floor.pdf
assetexplorer- product-overview - presentation
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 config Environment config Port Auth Services Port Logging tools Security token Subscriptions Adapter Network configs Port The API accelerators AdapterPort Adapter Legend Configurations 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