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
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q
A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly