Launching a Node.js application with a cluster module does not make sense in Heroku?

Heroku can work

Web dynos

and

Working speakers

for Web Dynos to route

and the working Worker Dynos will do the processing work.

Since there is a Dyno unit ,

It seems that using the Node.js cluster module does not make sense to me on Heroku.

Since the Node.js cluster module must use all server processor cores

and Dyno seems to me a virtual unit of the processor core.

I'm right? Or is it worth it to run a Node.js application with a cluster module?

+5
source share
3 answers

, , .

  • 1X Dynos 1
  • 2X Dynos 2
  • PX Dynos 12

, , 1X-, . , .

WEB_CONCURRENCY.

+1
-1
source

All Articles