W
W
Wasya UK2019-05-16 19:32:01
Node.js
Wasya UK, 2019-05-16 19:32:01

How to create microservices on a node from a monolith?

I'm trying to understand what microservices are. From what I read, I understood that this is the division of a large project into parts. For example, I have a server on a node, it allows teachers to create tests, and students to pass them. To divide into microservices, do I need to make separate management of authentication, creation of tests, and a separate microservice for passing them? And then just run 3 processes on different ports or using docker? Not very good in this question, I tried to find an example with several microservices, but I only find hello world and so on.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
I
Ivan Shumov, 2019-05-16
@dmc1989

Well, if in a very simple sense, then yes

R
Robur, 2019-05-16
@Robur

a good resource with a lot of text, examples and information of different levels of complexity: https://microservices.io/
start with it

I
index0h, 2019-05-16
@index0h

99.99% that you don't need it. The worst thing you can do is not properly split the monolith. After all, you will have to maintain more layers of interaction and synchronization between microservices.
https://youtu.be/lHpVxk9TPA8

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question