Please check out the 'cluster' branch. I'm adding cluster support to 
socket.io's new realtime engine (github.com/learnboost/engine.io) 

-- 
Guillermo Rauch
Sent with Sparrow (http://www.sparrowmailapp.com/?sig)


On Sunday, June 17, 2012 at 1:08, Fadrizul H wrote:

> Yeah, clustering is awesome. But if you start using sockets or the module 
> socket.io (http://socket.io). then all hell breaks loose. >.<
> On Jun 17, 2012 2:39 AM, "Diogo Resende" <[email protected] 
> (mailto:[email protected])> wrote:
> > I have a module to abstract this, called rack (node-rack on github). I have 
> > to check the changes (I know they are some) to work with version 0.8.
> > 
> > -- 
> > Diogo Resende
> > 
> > 
> > On Saturday, June 16, 2012 at 19:29 , carter-thaxton wrote:
> > 
> > > Sorry, Nuno.  The project itself is closed-source.
> > > 
> > > But it wasn't particularly tough to implement.  I basically just tweaked 
> > > the code examples from:
> > > http://nodemanual.org/latest/nodejs_ref_guide/cluster.html
> > > 
> > > One of the things that's cool about the cluster API is that the child 
> > > processes just create HTTP or TCP servers like they would have as a 
> > > standalone single-process server.  The only difference is a big if-stmt 
> > > at the top of your program that check if you're running as a master or a 
> > > worker, and if you're the master, fork off the workers.  The rest of my 
> > > server basically remained the same. 
> > > 
> > > Of course, once I got it working, I added some tweaks to my logging code, 
> > > to include the PID for the worker process in every log line, and that 
> > > sort of thing.
> > > 
> > > > 
> > > -- 
> > > Job Board: http://jobs.nodejs.org/
> > > Posting guidelines: 
> > > https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
> > > You received this message because you are subscribed to the Google
> > > Groups "nodejs" group.
> > > To post to this group, send email to [email protected] 
> > > (mailto:[email protected])
> > > To unsubscribe from this group, send email to
> > > [email protected] 
> > > (mailto:[email protected])
> > > For more options, visit this group at
> > > http://groups.google.com/group/nodejs?hl=en?hl=en
> > 
> > -- 
> > Job Board: http://jobs.nodejs.org/
> > Posting guidelines: 
> > https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
> > You received this message because you are subscribed to the Google
> > Groups "nodejs" group.
> > To post to this group, send email to [email protected] 
> > (mailto:[email protected])
> > To unsubscribe from this group, send email to
> > [email protected] 
> > (mailto:nodejs%[email protected])
> > For more options, visit this group at
> > http://groups.google.com/group/nodejs?hl=en?hl=en
> -- 
> Job Board: http://jobs.nodejs.org/
> Posting guidelines: 
> https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
> You received this message because you are subscribed to the Google
> Groups "nodejs" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/nodejs?hl=en?hl=en

-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

Reply via email to