System design Flashcards
1
Q
Name some advantages of micro services (4 items)
A
- Technology diversity, e., Microservices can mix easily with other frameworks, libraries, and databases
- Fault isolation, e., a process failure should not bring the whole system down.
- Greater support for smaller and parallel team
- Independent deployment
- loosely coupled architecture
- increase scalability - one service that needs more tps can be deployed on more instances
2
Q
Micro service vs monolithic architectures
A
- Micro services focus product, monolithic focus on project
- micro service loosely coupled, monolithic tightly coupled
- data models are separate in micro service
3
Q
Define micro service architecture (2 items)
A
- application is developed as a collection of services
- provides the framework to develop, deploy, and maintain the service independently
4
Q
Advantages of monolithic service
A
- less latency - since calls are local
- less complication for cross cutting concerns - easier to implement workflows that involve different components
- easier in terms of development and monitoring
5
Q
A