K
K
Konstantin2020-07-13 01:41:17
Node.js
Konstantin, 2020-07-13 01:41:17

Microservice management?

How to manage microservices written in node.js?

When several microservices are running node service.ts, node service2.ts and you need to watch for their fall and restart.

How does it do it in production?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
I
Ivan Shumov, 2020-07-13
@Junart1

Depends on where and how. If this is a normal virtual, then any process manager - pm2, supervisor and their analogues. If this is a containerized application, then Docker itself or k8s (well, or another manager)

M
McBernar, 2020-07-13
@McBernar

Well, pm2, for example. Able to show logs, able to restart when it crashes.
In fact, there are quite a few solutions, both free and paid, with detailed application statistics.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question