requests are not distributed - connections are. the operating system takes 
care of distributing connections across the pool of processes that are 
listening on the socket. this is handled internally by the kernel so in 
effect you have a layer 4 load balancer and there is no way of 
routing/proxying requests to specific processes from user space. sounds to 
me like you need to use a reverse proxy if you want control over which 
client connections get routed to which processes...

On Thursday, March 22, 2012 10:29:56 AM UTC, darcy wrote:
>
> When using cluster module, the requests from different connections are 
> distributed to workers randomly, which inconvenience the summary of client 
> ip. Is there any way to distribute request from the same ip to fixed worker 
> process? Or in future versions? I think it's useful in some cases.

-- 
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