You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 11, 2026. It is now read-only.
ranacseruet edited this page Oct 20, 2014
·
1 revision
clustered-node
A Simple library to make your traditional single threaded nodejs server into a multi-process based server,
so that you can make better utilization of your server cpu.
This project is inspired by multi-node project, which isn't anymore compatible with latest nodejs version.
Also a large portion of this project implementation idea is taken from hopache
project's multi-process architecture.
Usage
var http = require("http");
var clustered_node = require("clustered-node");
var server = http.createServer(function(req, res){
res.end("Hello World");
});
clustered_node.listen({port:1337, workers:3}, server);