Wednesday, 5 December 2018

Node Cluster + nginx

Quick question: should I combine node clusters with nginx? I'm using clusters solely to make my app use all threads and to get a better uptime (if a worker crashes I fork a new one). If only nginx is better should I make run node processes (one for each thread) of my app each with a different port? Or is it more efficient to run my app with pm2 and cluster through there?​Thanks in advance

Submitted December 05, 2018 at 08:19AM by timgfx

No comments:

Post a Comment