InterviewSolution
| 1. |
What is container orchestration and how does it helps in a microservice architecture? |
|
Answer» In a production environment, you don’t just deal with the application code/application server. You need to deal with API Gateway, Proxy Servers, SSL terminators, Application Servers, Database Servers, Caching Services, and other dependent services. As in modern microservice ARCHITECTURE where each microservice runs in a separate container, deploying and managing these containers is very challenging and might be error-prone. Container orchestration solves this problem by managing the life cycle of a container and allows us to AUTOMATE the container deployments. It also helps in scaling the application where it can easily bring up a few containers. Whenever there is a high load on the application and once the load goes down. it can scale down as well by BRINGING down the containers. It is helpful to adjust cost based on requirements. Also in some cases, it takes care of internal networking between services so that you need not make any extra EFFORT to do so. It also helps us to replicate or deploy the docker images at runtime without worrying about the resources. If you need more resources, you can configure that in orchestration services and it will be available/deployed on production servers within MINUTES. |
|