An open API service indexing awesome lists of open source software.

https://github.com/exortek/nodejs-cluster-non-cluster-example


https://github.com/exortek/nodejs-cluster-non-cluster-example

Last synced: about 1 year ago
JSON representation

Awesome Lists containing this project

README

          

# This Example is for the NodeJs Cluster Module
#### This application has a structure that accommodates both utilizing all available CPU cores and single-core usage. It was developed to explain the usage logic of the Cluster Module for Node.js.

## Installation
```bash
git clone https://github.com/exortek/nodejs-cluster-non-cluster-example.git
cd nodejs-cluster-module-example
npm install
```

## Usage
```bash
npm run start:cluster # For Cluster Module
npm run start:non-cluster # For Non-Cluster Module
```

## Load test
```bash
npm run load
```