If you are already using NodeJS for a while, you might already know that NodeJS is, by default, made up of single-threaded architecture. That means all your application logic will be run as a single thread for any amount of traffic requests. So, whenever it's doing one operation, it won't be doing anything else at that moment, even if there is a new request at the same time, … [Read more...] about Getting Started With Nodejs Cluster
scalability
Create Multi-Process NodeJS Server With ‘Clustered-Node’
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’