Microservices Flashcards

Get microservices princepts

1
Q

What is a micro service ?

A

The micro-service architectural style is an approach to developing a/single application as a suite of small services/, each running in its own process and communicating with lightweight mechanisms, often an HTTP resource

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

How do micro-services communicate often ?

A

HTTP

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

Caracteristics of Micro-Services

A
  • Loosely Coupled, Collaborating Services
  • Technology diversity
  • Scalability
  • Ease of deployment
  • Fault Tolerance
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Define Loosely coupled

A

Ideally, you want the services to have little to no dependence amongst one another. Services should be changable and deployable independently, without requiring changes to other parts of the system.
Services must expose only the information that is absolutely necessary in order to prevent the apps that consume their data from binding too tightly to them.

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

Advantages of Loosely Coupled

A

This makes it easier to roll out changes in the future.

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

Micro Services monitoring tools

A
  • Kubernetes API for health check-

- Promotheus for overall monitoring

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

Define Kubernetes

A

Kubernetes (k8s) is an open source platform for automating container operations such as deployment, scheduling and scalability across a cluster of nodes.

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

What are Kubernetes advantages ?

A
  • automate the deployment and replication of containers,
  • scale in or out containers on the fly,
  • organise containers in groups and provide load balancing between them,
  • easily roll out new versions of application containers,
  • provide container resilience, if a container dies it gets replaced, etc..
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is amazon EKS ?

A

Amazon Managed Kubernetes Service

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