Upload
abouzar-noori
View
68
Download
2
Embed Size (px)
Citation preview
Microservices;A Quick Introduction
Abouzar Noori
Separate Track in Major Conferences
Scaling Solutions
Horizontal vs Vertical Modules
Result
Cons
• You should write more code• Never choose Microservice for small or proof of concept projects
Cons
• You should write more code• Never choose Microservice for small or proof of concept projects
• Operational Complexity• In the very first steps of development
Cons
• You should write more code• Never choose Microservice for small or proof of concept projects
• Operational Complexity• In the very first steps of development
• Your IDE can not help you to refactor your code!
Cons
• You should write more code• Never choose Microservice for small or proof of concept projects
• Operational Complexity• In the very first steps of development
• Your IDE can not help you to refactor your code!
• Consistency Issues • Data duplication
• You will lose your lovely foreign keys
Pros
• Use the right tool for the right job
Pros
• Use the right tool for the right job
• Strong Module Boundaries• Autonomous teams
• Eases scaling the team!
• Faster product delivery
Pros
• Use the right tool for the right job
• Strong Module Boundaries• Autonomous teams
• Eases scaling the team!
• Faster product delivery
• Independent deployment
Pros
• Use the right tool for the right job
• Strong Module Boundaries• Autonomous teams
• Eases scaling the team!
• Faster product delivery
• Independent deployment
• Easier refactoring
Pros
• Use the right tool for the right job
• Strong Module Boundaries• Autonomous teams
• Eases scaling the team!
• Faster product delivery
• Independent deployment
• Easier refactoring
• Isolate failure
Challenges
• Clients should invoke many APIs instead of one• Aggregator pattern
Challenges
• Clients should invoke many APIs instead of one• Aggregator pattern
• Communication among Microservices• Synchronous: REST
• Asynchronous: Message Queue
• Authenticating Microservices
Challenges
• Clients should invoke many APIs instead of one• Aggregator pattern
• Communication among Microservices• Synchronous: REST
• Asynchronous: Message Queue
• Authenticating Microservices
• Centralizing Logs• Correlation ID
References
• http://martinfowler.com/Microservices/
• http://www.addsimplicity.com/downloads/eBaySDForum2006-11-29.pdf
• http://images.domain.com.au/img/pdf/20141020/4/29a95a6a-a2ac-4821-a0ce-c3c183b79337.pdf
• https://www.youtube.com/watch?v=r18BaOHRpE8