# iCluster **Repository Path**: Jackin/iCluster ## Basic Information - **Project Name**: iCluster - **Description**: Compare to multi-node or node-cluster ,it's very simple/fast and easy to mantain/hack . - **Primary Language**: JavaScript - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2013-12-26 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ###iCluster Compare to multi-node or node-cluster ,it's very simple/fast and easy to mantain/hack ,so you could write you own cluster based on it. Working on v0.5.9+ ####Features It supports two strategies for multi-process: - multi worker processes listen on the same port - the master receives the incoming sockets and distributes them to workers ####Performance In my test machine , CPU X 5 ,it could reach 10K qps for task like below: ```js server = http.createServer(function(req, res){ var i,r; for(i=0; i<10000; i++){ r = Math.random(); } res.writeHead(200 ,{"content-type" : "text/html"}); res.end("hello,world"); child_req_count++; }); ``` ####How to use download the source $ node master.js $ curl localhost:3458/ or you could test the tcpMaster: $ node tcpMaster.js $ curl localhost:3458/ just enjoy it weibo : http://weibo.com/windyrobin 从github上clone来的,用作备份和学习! github地址:https://github.com/windyrobin/iCluster