Answer the question
In order to leave comments, you need to log in
How to implement microservice architecture correctly?
Good afternoon.
I want to properly design microservice architecture.
I am making a test backend for a mobile application. It turns out there will be a set of various REST services, for example, authorization, receiving a list of messages, etc. The question arose of how these services should exchange data with each other. The first option is to simply "pull" them as normal REST (that is, as well as from the outside).
There are no other special options. Perhaps you can use some kind of common bus or a separate router application.
Perhaps someone can suggest an architecturally correct approach.
Thanks in advance.
Answer the question
In order to leave comments, you need to log in
In most cases, it is correct not to implement it at all. You are not Google.
Firstly. The bus is MQ. For example RabbitMQ
The main goal of microservice software is horizontal scaling. This is where the second point comes from.
Well, 3. All this will have to steer. I recommend using Flynn.io for taxiing.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question