Enterprise Micro-Service Architecture - CI - CD Orchestration Under Micro-Service
Enterprise Micro-Service Architecture - CI - CD Orchestration Under Micro-Service
Enterprise Micro-Service Architecture - CI - CD Orchestration Under Micro-Service
Architecture - CI/CD
orchestration under Micro-
service
Dao Hong Duc
I. Microservice as a pattern
A. What are Microservices and common misunderstandings in design.
B. Common pattern in designing Microservices-with tech-stack example
Glossary
I. Problems with Microservice
A. From technical standpoint
B. From management/organizational standpoint
Source: https://aws.amazon.com/microservices/#:~:text=Microservices%20are%20an%20architectural%20and,small%2C%20self%2Dcontained%20teams.
Microservice as a pattern
Common misconception
Source: https://viblo.asia/p/tim-hieu-ve-microservice-Do754PD45M6
Problems with Microservice
Technical drawbacks:
Management drawbacks:
● The increase in number of development teams mean that more sub managers are required for each
team.
● Complication will arise in communication between teams, this potentially makes it harder to
develop feature that require connection between components.
● Make the process of rotating developer between development teams due to high ownership.
● Create blockage if one team’s work depend on one another.
Overview of CI/CD under divided system
CI/CD fundamentals
● Each component should be hosted into its own code repository which is equipped with its own
CI/CD pipeline.
● Smaller software component enable PR environment which is extremely helpful to UAT new
feature before marking it as production ready.
● Each pipeline must have a production deployment strategy. (e.g: blue/green swap, Recreate
deployment, Canary, etc..)
● Each pipeline must has its own alarm system and alarm channel.
● Host CI/CD runner on multiple hardware and separate them for each component if possible.
Overview of CI/CD under divided system
Open-source:
Commercial:
Microservice as a pattern
Source: https://medium.com/@madhukaudantha/microservice-architecture-and-design-patterns-for-microservices-
e0e5013fd58a
Enterprise Microservice-Case Study of Netflix
Source: https://www.geeksforgeeks.org/system-design-netflix-a-complete-architecture/
Enterprise Microservice-Case Study of Netflix
Netflix changed a from DVD rental business to 100B dollar business, overtaking major streaming
platforms.
How to plan your migration from Monolith to Microservices safely (personal experience)
Q&A