[Mongrel] Why Rails + mongrel_cluster + load balancing doesn'twork for us and the beginning of a solution
paul at paulbutcher.com
Fri Sep 22 04:51:54 EDT 2006
> (*Laziness kicks in*) How do you find...which one of mongrel id idle?
It's a fantastically subtle and complicated algorithm. Not.
The main thread handles incoming connections, and then there's one thread
per worker. The main thread does this:
while request = server.accept
And each worker does this:
request = queue.pop
# Handle the request ...
Snetterton, Castle Combe, Cadwell Park...
Who says I have a one track mind?
MSN: paul at paulbutcher.com
More information about the Mongrel-users