🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

cluster-isolatable

Package Overview
Dependencies
Maintainers
0
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cluster-isolatable

Allows to isolate workers so they only handle one request at a time. Useful for file uploads.

0.0.2
latest
Source
npm
Version published
Weekly downloads
0
-100%
Maintainers
0
Weekly downloads
 
Created
Source

cluster-isolatable

Plugin for cluster that allows to isolate one connection per worker.

It's not perfect because node always accepts as many connections as possible when the server's fd becomes readable, but with a high enough worker count, the chances of two connections making it into one worker are relatively small.

Usage

var isolatable = require('cluster-isolatable');
cluster(server).use(isolatable());

License

MIT

FAQs

Package last updated on 19 Jul 2011

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts