R
R
Richard Hendrix2018-12-17 01:14:53
Node.js
Richard Hendrix, 2018-12-17 01:14:53

How to understand how many threads node.js can handle?

I'm trying to understand the intangible model of asynchronous development for Node.js, in particular questions like how to understand how many threads can node.js withstand? what are these threads and how to track them?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Roman, 2018-12-17
@GeekT

Very often, threads mean both threads and parallel processes.
If by threads you mean processes, then in nodejs they are implemented using workers. As far as I know, there are no other implementations in the node. A little is written about them here and here (in the comments they hint at performance tests and other things, maybe even someone conducted them)
If you are interested in streams, then you can get acquainted with them a little here
For a more detailed answer, I would like a more detailed question.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question