Re: [Mongrel] Why Rails + mongrel_cluster + load balancing doesn'twork for us and the beginning of a solution

2006-09-25 Thread Alexander Lazic
On Son 24.09.2006 23:07, snacktime wrote: > >I was taking a look at the source for mod_proxy_balancer this evening, >and it looks like the simplest solution to this whole problem is to >just add another balance method. The functions that determine what >balance member gets the next request are pre

Re: [Mongrel] Why Rails + mongrel_cluster + load balancing doesn'twork for us and the beginning of a solution

2006-09-25 Thread snacktime
I was taking a look at the source for mod_proxy_balancer this evening, and it looks like the simplest solution to this whole problem is to just add another balance method. The functions that determine what balance member gets the next request are pretty short. I'm a pretty bad C programmer, but I

Re: [Mongrel] Why Rails + mongrel_cluster + load balancing doesn'twork for us and the beginning of a solution

2006-09-22 Thread Paul Butcher
> (*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 queue.push requ

Re: [Mongrel] Why Rails + mongrel_cluster + load balancing doesn'twork for us and the beginning of a solution

2006-09-22 Thread Alexander Lazic
On Don 21.09.2006 20:06, Paul Butcher wrote: >> Have you ever use haproxy http://haproxy.1wt.eu/ ?! > >In a word, no :-) > >> He have the following feature which can help you: > >Thanks - sounds interesting. We'll give it a go! Please let us/me know your experience ;-) Thanks && Regards Alex ___

Re: [Mongrel] Why Rails + mongrel_cluster + load balancing doesn'twork for us and the beginning of a solution

2006-09-21 Thread Paul Butcher
> Have you ever use haproxy http://haproxy.1wt.eu/ ?! In a word, no :-) > He have the following feature which can help you: Thanks - sounds interesting. We'll give it a go! -- paul.butcher->msgCount++ Snetterton, Castle Combe, Cadwell Park... Who says I have a one track mind? MSN: [EMAIL PROT

Re: [Mongrel] Why Rails + mongrel_cluster + load balancing doesn'twork for us and the beginning of a solution

2006-09-20 Thread Paul Butcher
Jens Kraemer wrote: > However, if I limit *one* of the mongrels to 1 connection at a time, I get > this: > pen -fdnr 9000 localhost:9001:1 localhost:9002 > Fast: 59 > Slow: 6 That's interesting! Thanks. I did try a similar configuration of mod_proxy_balancer, but it didn't have the same effect. M