Would the TAO loadmanager work to load balance between non-TAO orbs?
If not, what would be needed to make them participate as a replica?
From: Ossama Othman [mailto:email@example.com]
Sent: den 23 april 2005 20:08
To: Jesper S�derlund
Subject: Re: [tao-users] Load balancing question
Sorry for the delay.
On Mon, 2005-04-11 at 22:12 +0200, Jesper S�derlund wrote:
> The load balancing algorithm implemented by TAO, how does it cope with
> the disapearance of a replica?
It currently does not. The LoadManager currently assumes that all group members are reachable. However, it should be relatively straightforward to implement a simple heartbeat/ping mechanism that is configurable at run-time through the PortableGroup PropertyManager interface.
> Would it not, until it itself found out that the replica was gone,
> redirect clients to a "dead" node? How can the clients cope with this
Currently, the LoadManager could potentially redirect the client to a dead node. If the client cannot connect to the group member (e.g. a CORBA::TRANSIENT condition), I believe that the client side ORB should redirect the request back to the previous location, which in this case is the LoadManager. Once redirected back to the LoadManager, the LoadManager will reassign the client request to another group member.
The same goes for other non-fatal exceptions, such as CORBA::OBJ_ADAPTER and CORBA::NO_RESPONSE.
Fatal exceptions must be handled by the client as they normally would without load balancing. Fatal exception handling related to dead nodes will be mitigated once the dead node detection support is added to the LoadManager. However, the client should still be able to handle fatal exceptions with or without load balancing.
We'll try to add support for dead member detection ASAP since the client could potentially be bounced back and forth from and to the LoadManager, respectively, indefinitely if there is only one member in the load balanced object group.
I'll add this discussion to a related bug entry in our BTS here:
Please feel free to add yourself to the CC list on the above bug entry.
Ossama Othman <firstname.lastname@example.org>