Monolith to Microservices Flashcards

1
Q

What are the limitations of a Monolithic app?

A

Agility
- rebuilding the whole app takes a lot of time
Scalability
- scaling a monolith app happens in both directions:
horizontal and vertical => resources
DevOps cycles
- high frequency of deployments fails due to high build time

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What are the benefits of using microservices when it comes to the limitations of monolithic apps?

A

Agility
- separated services => changes to one do not affect the others
Scalability
- separated services => scale each component in part as needed
DevOps cycle
- separated services => less dev cycles with low build time

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

what are feature flags used for?

A
  • separate delivering software from release

=> deploy any time and release when ready

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

what are the benefits of using feature flags?

A
  1. better incident recovery (toggle flag off)
  2. testing directly in prod on a subgroup of users
    => realistic testing environment
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

how to view all namespaces?

A

kubectl get namespaces

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

how to create a namespace?

A

kubectl create ns namespaceName

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

how to get a serice from a namespace

A

kubectl get svc serviceName -n namespaceName

How well did you know this?
1
Not at all
2
3
4
5
Perfectly