U
U
ultonic2019-07-18 13:22:11
PHP
ultonic, 2019-07-18 13:22:11

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

4 answer(s)
E
Eugene Volf, 2019-07-18
@Wolfnsex

Who is dealing with this problem?

We easily solved this problem for ourselves with the help of two tools:
1. Some of the services run on a test server available locally
2. Docker
PS Deploying and updating projects in docker is a matter of minutes, if not a few seconds, no more. At the same time, the authors of the service itself are responsible for all the settings and other almshouses related to the OS settings for the service, software, etc. .

O
OnYourLips, 2019-07-18
@OnYourLips

Why put everything?
I put those whose code you edit, and the rest you use from test machines.
Infrastructure as code (IaC) must be.

N
Nikolai Konyukhov, 2019-07-18
@heahoh

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

V
vladitot, 2019-07-18
@vladitot

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 question

Ask a Question

731 491 924 answers to any question