What are some cool tricks to make your Node.js app faster?

Also you should always use cluster module for production Node.js apps. It forks your parent Node.js process to spawn child/worker processes and uses round robin algorithm (v0.12) to distribute incoming connections evenly among the workers. So, if you are using a multi core VPS to deploy your app you should take advantage of cluster.

Write a reply...

Nikhil Mathur


Hard core JavaScript Dev

Never miss an answer from Nikhil Mathur,
when you sign up for Hashnode. Learn more

loading ...