Re: [Resin-interest] resin load distribution

2006-11-08 Thread Scott Ferguson
On Nov 7, 2006, at 6:05 PM, Jacky wrote: Dear Scott,  Is there anyway that the "client-weight" can be used with Apache? I'm using 3.0.29 professional.No.  It's both a multithreaded issue and a testing one.  Since Java is a fully-multithreaded language, and Apache/C isn't really, it's much harder to share the information across the different processes/connections in Apache than it is in Java.In addition, since it's much easier to automatically test Java, we need to keep the Apache functionality simpler than the corresponding Java functionality.  Another example is failover.  If the Java load-balancer tries a backend server which fails, it can retry on the next backend server.  That capability is more complicated than we would want to put into Apache. In other words, the Java load-balancer will always be more capable than the Apache/mod_caucho one.-- Scott  I checked the caucho site and i the only thing i can find that is most relevant to my needs is this: http://www.caucho.com/resin-3.0/install/cse-apache.xtp#balance  but it does not allow me to configure the weight.  please advice.  Scott Ferguson wrote:   On Nov 6, 2006, at 9:33 AM, Sam wrote:

  How can i configure one server to serve more than the other?
  Since 3.0.20, there is a "client-weight" option for each srun. For  
eaxample, the following causes
server a to get used twice as much as server b:

  
  

For 3.1 and later, it is called "load-balance-weight":

  
  
True, but it's only available using Resin as a load balancer, not  
Apache/mod_caucho.

-- Scott

-- Sam



___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest
___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest

-- 
Warm regards,
Jacky Wong
___resin-interest mailing listresin-interest@caucho.comhttp://maillist.caucho.com/mailman/listinfo/resin-interest ___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest


Re: [Resin-interest] resin load distribution

2006-11-07 Thread Jacky




Dear Scott,

Is there anyway that the "client-weight" can be used with Apache?
I'm using 3.0.29 professional.

I checked the caucho site and i the only thing i can find that is most
relevant to my needs is this:
http://www.caucho.com/resin-3.0/install/cse-apache.xtp#balance

but it does not allow me to configure the weight.

please advice.

Scott Ferguson wrote:

  On Nov 6, 2006, at 9:33 AM, Sam wrote:

  
  

  How can i configure one server to serve more than the other?
  

Since 3.0.20, there is a "client-weight" option for each srun. For  
eaxample, the following causes
server a to get used twice as much as server b:

  
  

For 3.1 and later, it is called "load-balance-weight":

  
  

  
  
True, but it's only available using Resin as a load balancer, not  
Apache/mod_caucho.

-- Scott

  
  
-- Sam



___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest

  
  

___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest

  


-- 
Warm regards,
Jacky Wong




___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest


Re: [Resin-interest] resin load distribution

2006-11-06 Thread Scott Ferguson

On Nov 6, 2006, at 9:33 AM, Sam wrote:

>> How can i configure one server to serve more than the other?
>
> Since 3.0.20, there is a "client-weight" option for each srun. For  
> eaxample, the following causes
> server a to get used twice as much as server b:
>
>   
>   
>
> For 3.1 and later, it is called "load-balance-weight":
>
>weight="2"/>
>weight="1"/>

True, but it's only available using Resin as a load balancer, not  
Apache/mod_caucho.

-- Scott

>
> -- Sam
>
>
>
> ___
> resin-interest mailing list
> resin-interest@caucho.com
> http://maillist.caucho.com/mailman/listinfo/resin-interest


___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest


Re: [Resin-interest] resin load distribution

2006-11-06 Thread Sam
> How can i configure one server to serve more than the other?

Since 3.0.20, there is a "client-weight" option for each srun. For eaxample, 
the following causes
server a to get used twice as much as server b:

  
  

For 3.1 and later, it is called "load-balance-weight":

  
  

-- Sam



___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest