Answer the question
In order to leave comments, you need to log in
Do your developers deploy services locally?
We develop a project, implement a microservice architecture, services are actively interconnected. Each new developer is forced to spend a lot of effort on deploying the entire system if, for example, he needs to test a feature that involves several services. At the same time, services need to be updated frequently, to keep the configuration up to date. This is time-consuming.
Who is dealing with this problem?
Answer the question
In order to leave comments, you need to log in
Who is dealing with this problem?
Why put everything?
I put those whose code you edit, and the rest you use from test machines.
Infrastructure as code (IaC) must be.
For the dev environment, we mock third-party services through the wiremock container (rodolpheche/wiremock), when the api changes, we update the mocks in accordance with the changes.
With a part of related services, communication is done through kafka events - this is also solved by response mocks.
During integration tests - real services are raised
We have written containers based on laradock (we write in php) and the docker-compose + envoy bundle works.
Envoy has all the aliases for launching certain parts of the system, everything rises with one command from the terminal. On production and test servers, kubernetes is used.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question