Just a note for anyone else, like me, who kept hitting this forum entry 
while googling around.  We replaced  highwire successfully with balance 
(http://www.inlab.de/balanceng/).

Had to change one of the default build constants (MAXCHANNELS) from 16 
to 32, but after which its' working great against our pool of 10 
mongrels.


Running as follows configures it to feed one request at a time round 
robin t each free mongrel instance unless they're all concurrently busy 
at which point it switches to sending them round robin to all 10 a-la 
mod_proxy_balancer.

 /usr/local/bin/balance -M -b 127.0.0.1 7050 127.0.0.1:8000:1 
127.0.0.1:8001:1 127.0.0.1:8002:1 127.0.0.1:8003:1 127.0.0.1:8004:1 
127.0.0.1:8005:1 127.0.0.1:8006:1 127.0.0.1:8007:1 127.0.0.1:8008:1 
127.0.0.1:8009:1 ! 127.0.0.1:8000 127.0.0.1:8001 127.0.0.1:8002 
127.0.0.1:8003 127.0.0.1:8004 127.0.0.1:8005 127.0.0.1:8006 
127.0.0.1:8007 127.0.0.1:8008 127.0.0.1:8009

So far its' been working very well.  Status from first afternoon of use 
are as follows:
# /usr/local/etc/rc.d/balance status
balance at 127.0.0.1:7050
GRP Type  #   S       ip-address  port    c      totalc maxc        sent 
rcvd
  0   RR  0 ENA        127.0.0.1  8000    0        1972    1     1534959 
17503343
  0   RR  1 ENA        127.0.0.1  8001    0        2122    1     1604954 
38727099
  0   RR  2 ENA        127.0.0.1  8002    0        2220    1     6587106 
21329912
  0   RR  3 ENA        127.0.0.1  8003    1        1412    1     6868618 
16225686
  0   RR  4 ENA        127.0.0.1  8004    0        1952    1     2376831 
21449204
  0   RR  5 ENA        127.0.0.1  8005    1        1564    1    12380050 
18871952
  0   RR  6 ENA        127.0.0.1  8006    0        1894    1     5663904 
21877505
  0   RR  7 ENA        127.0.0.1  8007    0        2025    1    22239136 
20035666
  0   RR  8 ENA        127.0.0.1  8008    1        1787    1     8410442 
21476800
  0   RR  9 ENA        127.0.0.1  8009    0        1914    1    11913518 
18254808
  1   RR  0 ENA        127.0.0.1  8000    0         231    0      116116 
1439980
  1   RR  1 ENA        127.0.0.1  8001    0         232    0      150685 
2026796
  1   RR  2 ENA        127.0.0.1  8002    0         232    0      115881 
638747
  1   RR  3 ENA        127.0.0.1  8003    0         231    0      117039 
1072487
  1   RR  4 ENA        127.0.0.1  8004    0         233    0      121611 
1491177
  1   RR  5 ENA        127.0.0.1  8005    0         233    0      120231 
1162390
  1   RR  6 ENA        127.0.0.1  8006    0         231    0     4665602 
1843309
  1   RR  7 ENA        127.0.0.1  8007    0         229    0      118730 
1373138
  1   RR  8 ENA        127.0.0.1  8008    0         229    0      114949 
1497304
  1   RR  9 ENA        127.0.0.1  8009    0         230    0      119177 
1224900




Eddy wrote:http://www.inlab.de/balanceng/
>> btw, I'm not surprised highwire isn't talked about more.
> 
> A response from the Highwire guy:
>>>
> 
> I'm afraid that we haven't been using Highwire for a while now. That
> doesn't mean that the problem Highwire was designed to address
> doesn't still exist (it very definitely does), but we have decided to
> follow a different solution. We have divided our mongrel cluster into
> two halves - a "normal" cluster on which the common "fast" operations
> take place and an "admin" cluster on which occasional "slow" things
> take place. Very soon, we plan to take this further and move the
> "slow" cluster onto an entirely separate server.
> 
> That means, I'm afraid, that we haven't got a patch for the problem
> you mention because we've not developed it any further. Having said
> that, Highwire really couldn't be simpler, so if you want to take on
> creating a patch, or even ownership of the Highwire project, please
> be my guest! Let me know if you're interested.
> 
> BTW - you might be interested in a couple of blog articles we've
> recently written on Ruby on Rails:
> 
> http://about.82ask.com/news/wizardry/
> 
> ------------------------------------------------
> Paul Butcher
> CTO
> 82ASK
> Mobile: +44 (0) 7740 857648
> Main: +44 (0) 1223 309080
> Fax: +44(0) 1223 309082
> Email: [EMAIL PROTECTED]
> MSN: [EMAIL PROTECTED]
> AIM: paulrabutcher
> Skype: paulrabutcher
> LinkedIn: http://www.linkedin.com/in/paulbutcher
> ------------------------------------------------
>

-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Deploying Rails" group.
To post to this group, send email to rubyonrails-deployment@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-deployment?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to