R
R
razer962019-05-22 21:58:07
RPC
razer96, 2019-05-22 21:58:07

Is it necessary to use an RPC pattern when sending data via RabbitMQ to be stored on another microservice?

Good day. When working with RabbitMQ, such a question arose. If I send data from one microservice to another microservice just so that the second microservice saves this data to its database, do I need to return confirmation of successful saving to the first microservice, thereby simply calling the remote procedure and waiting for its result? Or is this an unnecessary load that is not conditioned by anything, and you can simply transfer the data, and then these are the problems of the second microservice, did it save them or not?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Ivan Shumov, 2019-05-22
@inoise

Not necessary. Your system and do what suits you best

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question