Microservices Flashcards
Get microservices princepts
What is a micro service ?
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 do micro-services communicate often ?
HTTP
Caracteristics of Micro-Services
- Loosely Coupled, Collaborating Services
- Technology diversity
- Scalability
- Ease of deployment
- Fault Tolerance
Define Loosely coupled
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.
Advantages of Loosely Coupled
This makes it easier to roll out changes in the future.
Micro Services monitoring tools
- Kubernetes API for health check-
- Promotheus for overall monitoring
Define Kubernetes
Kubernetes (k8s) is an open source platform for automating container operations such as deployment, scheduling and scalability across a cluster of nodes.
What are Kubernetes advantages ?
- 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..
What is amazon EKS ?
Amazon Managed Kubernetes Service