[omniORB] Immediate rope switch
Duncan Grisby
duncan at grisby.org
Fri Dec 21 10:19:54 GMT 2007
On Friday 30 November, Lazar Stricevic wrote:
[...]
> Upon the loss of connection, current behavior of omniORB is to try to
> reestablish connection over the same "rope" i.e. network interface, to
> wait if reestablishment fails (to make sure that the connection is
> impossible over that interface), and only then switch the connection
> to the other "rope". This makes sense in regular non-real-time usage,
> but unfortunately that is not the case with our system.
> We decided that the best for our system is to switch rope when it
> encounters problems in communication (transient exception), even if it
> is possible to continue to use current interface. The waiting proved
> to be too costly for us.
> Desired behavior is achieved by changing the method
> notifyCommFailure() of the GIOP_C object (file
> omniORB-4.1.1/src/lib/omniORB/orbcore/GIOP_C.cc). The part which
> decides whether to check connection again over the same interface is
> commented out. Patch file is attached.
>
> Is there any other, regular way to do this (without changing the code
> of omniORB)?
I think that's a reasonable way to handle your situation. There's no way
to do it without the kind of changes you've done inside omniORB. I'm not
sure it's a common enough requirement to make it worth exposing as a
configuration parameter.
Anyone else interested in this?
Cheers,
Duncan.
--
-- Duncan Grisby --
-- duncan at grisby.org --
-- http://www.grisby.org --
More information about the omniORB-list
mailing list