P
P
prizrak392017-08-18 08:29:42
Java
prizrak39, 2017-08-18 08:29:42

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

3 answer(s)
S
Sergey Gornostaev, 2017-08-18
@sergey-gornostaev

In most cases, it is correct not to implement it at all. You are not Google.

L
L17217, 2017-08-18
@L17217

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.

P
prizrak39, 2017-08-18
@prizrak39

I want to recap a little. Each microservice is a REST service that communicates with each other via buses (for example, RabbitMQ or ActiveMQ). The data is cached in a distributed cache like memcached or redis.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question