-
1. Re: can cached remote interface load balancing?
weiqingh Jun 18, 2003 1:12 PM (in response to weiqingh)sorry i made a mistake in my original post.
if i cache the remote interface, i can get load balancing via the RoundRobin bean policy.
if i cache the home and create a remote each time, i can get load balancing via the FirstAvailable bean policy. RoundRobin won't give me load balancing.
my question actually is: is there a policy that would work for both cases? it seems odd to have to change the bean policy to accomodate client caching strategy. (btw, i am using jboss3.2.1)
many thanks. -
2. Re: can cached remote interface load balancing?
darranl Jun 20, 2003 4:01 AM (in response to weiqingh)Which policies are you setting, the home load balance policy or the bean load balance policy?
-
3. Re: can cached remote interface load balancing?
weiqingh Jun 20, 2003 10:12 AM (in response to weiqingh)the bean load balancing policy. the home is always cached in both cases.
-
4. Re: can cached remote interface load balancing?
darranl Jun 20, 2003 10:40 AM (in response to weiqingh)In that case I think that it is the home load balance policy that you need to be setting to RoundRobin.
The object that you have cached is only a proxy object, the home load balance policy specifies which server should be used to call create when you request access to a bean. -
5. Re: can cached remote interface load balancing?
weiqingh Jun 23, 2003 10:10 AM (in response to weiqingh)thanx for the help.
yes, my home load balance policy was also set to to roundrobin.
like i said, if i cache home and create remote every time, having home and bean load balance policy both set to roundrobin, would not give me load balance at all. i need to set bean policy to firstavailable, regardless of what home policy is. -
6. Re: can cached remote interface load balancing?
slaboure Jun 24, 2003 3:40 AM (in response to weiqingh)the behaviour is different and more consistent in 3.2.x than in 3.0.x, you may want to try it. Cheers,
sacha -
7. Re: can cached remote interface load balancing?
weiqingh Jun 24, 2003 10:34 AM (in response to weiqingh)forgot to mention that i am using 3.2.1. thanx Sacha.