If you are a NodeJS application developer, by default you are developing it in single threaded/single process based. If you are deploying it on a multi-cpu/core based server, then you are only under-utilizing it. Sure, we can do better, right? Nodejs also provide some facility to improve its default single-thread nature by its cluster module. Sure you will have to know first … [Read more...] about Create Multi-Process NodeJS Server With ‘Clustered-Node’
nodejs
How To Work With JSON In Node.js / JavaScript
Recently I started learning and working on the Node.js platform. So, now I am again brushing up on my long-forgotten JavaScript skill. JSON is a common format you face every now and then in JavaScript, whether it's on the client side or server side. As NodeJs is a server-side platform, it has a little more capability than browser-based JavaScript, like writing to file systems, … [Read more...] about How To Work With JSON In Node.js / JavaScript
How To Create HTTP Request In NodeJS
Most of new programmer starts learning nodejs, assuming have knowledge in javascript already, by creating a web-server in simple easy few lines of codes. Well, do you know that the same http module, which helps us creating a web server, can also be used to perform http request to another remote server? Today, in this tutorial, which is intended for nodejs beginners, I will try … [Read more...] about How To Create HTTP Request In NodeJS