This is my HA-RMI service below:

  | InitialContext ctx = new InitialContext();      
  | Object obj = ctx.lookup("/HAPartition/DefaultPartition");      
  | RMISocketFactory rmiSocketFactry = RMISocketFactory.getSocketFactory();
  | HAPartition myPartition = (HAPartition) obj;
  | MyService myService = new MyServiceImpl();
  | HARMIServerImpl rmiserver = new HARMIServerImpl(myPartition, "MyService", 
MyService.class, myService, 3433, rmiSocketFactry, rmiSocketFactry);
  | MyService stub = (MyService) rmiserver.createHAStub(new RoundRobin());
  | ctx.bind("RMI_STUB", stub);
  | 

As you noticed I'm explicitly using "RoundRobin"

However, the 2 nodes in my cluster are not using "Round Robin" as I understand it. 
It's my understanding that "Round Robin" clustering means going from one sever to the 
next in an even manner (not factoring system load). I'm not sure what load balancing 
technique is actually being used but it aint "Round Robin" as I've explained it.

Fail-over is working - when I bring down one of my nodes, all request goes to the 
remaining node.

I believe other folks here have noticed this anomaly.

Is this a bug, or intended behvior ??



View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3831680#3831680

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3831680


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to