I am using 3.2.2RC2 ...

Chris

Sacha Labourey wrote:

... Or use 3.2.x which removes this issue.



-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Adrian Brock
Sent: mardi, 12 ao�t 2003 17:50
To: [EMAIL PROTECTED]
Subject: Re: [JBoss-user] Load-Balancing Problems



You are probably doing sessionHome.create() on every request?


This creates a new remote interface proxy, which will round-robin all servers. However if you only do one invocation it will always use the first server and never get to the others.

You can get similar problems with other patterns in your RemoteInterface usage depending upon how many servers you have.

One simple solution is to use RandomRobin rather than RoundRobin as the load balancing policy.

Regards,
Adrian

On Tue, 2003-08-12 at 10:41, Christofer Dutz wrote:


Hi,

I am having some Problems with load-balancing in JBoss.
All Beans are set to use the RoundRobin Load-Balancing strategy and the
cluster seems to work like a charm.
I setup the HA-JNDI to work on Port 1100 and setup the


client to use

this port. Everything seems to work fine, except one thing.
If I watch the load of the cluster-machines with "top" I


can see the

machine that is directly accessed by the Client-Application
has a load of 100% the other cluster nodes then are only


30%. Mabe I'm

wrong, but I think that it could be, that the client proxy
is doing no load-balancing at all and that the 30% are just


for syncing.


Any Ideas of how I could balance the load over all nodes?
Any help is realy appreciated.

Christofer Dutz




-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET


sites including

Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET.



http://aspnet.click-> url.com/go/psa00100003ave/direct;at.aspnet_072303_


01/01
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet


_072303_01/01
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user






-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user







------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to