A
A
Andrey Rudakov2022-01-24 10:00:39
RPC
Andrey Rudakov, 2022-01-24 10:00:39

How to properly organize GRPC communication in microservices?

Good afternoon.
Is the Gateway accepting all requests from the client. This gateway is connected via gRPC to microservices.
But there is a moment when you need microservices to interact with each other.
How to implement correctly, let all the interaction of microservices through the gateway or connect the microservice with the microservice where necessary?
Option 1:
61ee4e8711c05585738595.jpeg

Option 2:
61ee4e95ada46181588737.jpeg

Need to consider further load balancing, etc.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question