Skip to content

radha-bacancy/Node-Cluster

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Node Cluster

Getting Started

You can download this repo or clone using below command. (folder-name will be project folder in which you want to start your project).

> git clone https://github.com/mihir-kanzariya/Node-Cluster.git <folder-name>

Project Setup

Once you clone or download project go into you folder

Installing

> npm install     

Run it using below command in the root directory of your application.

With Cluster

> node withcluster.js

Without Cluster

> node withoutcluster.js

Test performance of app, you need to install siege on your system. After installing siege use below command

> siege -r1000 -c10 http://localhost:3000/

This command send 10 users continuously 1000 times. At the last you will see statistics and differences between withcluster.js and withoutcluster.js.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%