Upload
abid-khan
View
193
Download
2
Embed Size (px)
Citation preview
Microservices Architecture
Abid H Khan
AgendaMonolithic ArchitectureScallingMicroservices Architecture
Monolithic ArchitectureAll functionality is coupled in single process
The application is either layered or hexagonal
Presentation layerBusiness layerData layerIntegration layer
Hexagonal Architecture
ObjectivesThere is a team of developers working on the application
New team members must quickly become productive
The application must be easy to understand and modify
Ensure continuous deployment of the application
ObjectivesMust satisfy scalability and availability requirements
Introducing technologies
Scale Cube
X axis scaling
Y axis scaling
Z axis scaling
Microservices
AdvantagesEach microservice is smallEach service can be deployed independently
Easier to scale developmentIncreases faultoranceEliminate long term association with technology stack
DrawbacksComplexity of creating distributed system
Deployment complexityAdditional memory consumption
How to partition By verb or use caseBy nouns or resources
Which one to chooseAt the early stage of the application when challenge is how to rapidly adapt business model
At stage when scale is important