E
E
Eugene2018-11-05 20:40:25
Service Oriented Architecture
Eugene, 2018-11-05 20:40:25

How to guarantee data integrity in microservice architecture?

There are services A and B , each has its own base.
It is necessary to update in each service by appointment.
How it is possible to achieve a guarantee of updating of both records?
Something like transactional integrity?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Ivan Shumov, 2018-11-05
@inoise

Almost nothing. If you need to update data in two microservices in one operation, then you are doing something wrong. Microservices and integrity are on opposite sides of the macrocosm. The microservice architecture, when misused, in itself generates similar data in the system. In general, companies solve this problem by regularly analyzing and searching for unrelated entities.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question