V
V
vostotskiy2019-12-23 18:30:59
Node.js
vostotskiy, 2019-12-23 18:30:59

How to write microservices in Node.js enterprise level?

Hello.
Some time ago, I started writing multi-purpose microservices based on Node.js with the following characteristics:
1) Basic PL: JS (I plan to switch to TS);
2) Additional tools: JSLINT, Express, other application libraries for working with the database/third-party services
3) Unit tests coverage using jest, other libraries for testing;
4) Dockerization, creation of containers configured for local development/production development, with transfer of application parameters to the .env file
5) Event logging using logging services (depending on the environment, CloudWatch for example);
Please tell me what qualities/features, additional features a microservice should have in order to consider it an enterprice-level microservice?
Where can I find examples of this level of projects written in Node.js, do they have to implement newfangled features such as gracefull shutdown, circuit breaker, etc.?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
I
Ivan Shumov, 2019-12-23
@inoise

An enterprise microservice is when it is executed according to all the guidelines of a particular specific enterprise. All enterprises are different, all microservices are also different. A more precise answer to this question cannot be given. Why? Yes, because the enterprise is the size of the organization and the way / complexity of its management and applies to the code only at the management level (governance)

I
IDONTSUDO, 2019-12-24
@IDONTSUDO

https://github.com/zeromq/zeromq.js
senecajs.org
just use Zeromq to communicate between microservices. Or seneca.
Well, in general, the question is similar to a joke.
- Well, like a hackathon. Well webpack is set up.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question