---
title: "Comment by shiva prasad on \"10 things you shouldn't do while running Node.js in production\" | Hashnode"
description: "Excellent post . i&#39;m building a node app which is completely stateless and uses JWT for authentication. i&#39;m planning to host the app on 10 servers each"
url: "https://hashnode.com/posts/10-things-you-shouldnt-do-while-running-nodejs-in-production/57bee46e93309a25047c619a/comment/57c00dc3387df20e0b9f936f"
---

[Discussion](https://hashnode.com/posts/10-things-you-shouldnt-do-while-running-nodejs-in-production/57bee46e93309a25047c619a)

Comment [10 things you shouldn't do while running Node.js in production](https://hashnode.com/posts/10-things-you-shouldnt-do-while-running-nodejs-in-production/57bee46e93309a25047c619a)

[shiva prasad](https://hashnode.com/@intelboy)

[Aug 26, 2016](https://hashnode.com/posts/10-things-you-shouldnt-do-while-running-nodejs-in-production/57bee46e93309a25047c619a/comment/57c00dc3387df20e0b9f936f)

Excellent post . i'm building a node app which is completely stateless and uses JWT for authentication. i'm planning to host the app on 10 servers each having only i cpu CORE (as it is stateless there is no need to bother about session sync) each server has nginx to frontload node app on that particular server . and all these servers will be front loaded by 1 load balancer . so my question is in my scenario do i really require cluster module ?

[Marco Alka](https://hashnode.com/@maruru)

[Aug 26, 2016](https://hashnode.com/posts/10-things-you-shouldnt-do-while-running-nodejs-in-production/57bee46e93309a25047c619a/comment/57c00dc3387df20e0b9f936f#reply-57c0b636cb80370904fc5929)

You should make a benchmark with one server and see if you get performance improvements by using a cluster with 1,2,3,... processes. As a rule of the thumb, the optimum lies by ca. `<number of CPU cores> + 1` processes

[J Bruni](https://hashnode.com/@jbruni)

[Oct 10, 2016](https://hashnode.com/posts/10-things-you-shouldnt-do-while-running-nodejs-in-production/57bee46e93309a25047c619a/comment/57c00dc3387df20e0b9f936f#reply-57fadefb2212efbdcbc3f440)

As far as I understood, even having only 1 CPU core, the cluster stills brings to you the benefit of having no downtime when reloading the application on a specific server. Yeah, I know... you already have other 9 servers to take care when 1 server is restarting the app... It may be a "micro-benefit", but it is still a benefit. (Specially if you start with one server alone before adding the others.)
