Re: CORBA performance - why CORBA



On Saturday 8 December, Michael Meeks wrote:

>         I'm not aware of an ORB where there are any issues with using
> oneway in terms of loss / re-ordering.

Any ORB that closes idle connections has an unavoidable race condition
that can cause oneways to be lost. A server can choose to close a TCP
connection at any time. Imagine a client fires off a oneway request,
and while it is in flight, the server closes the connection. Some time
later, the client sees that the connection has been closed, but it has
no way of knowing whether the oneway was delivered or not. With a
normal two-way invocation it would have seen that the connection was
closed before it got a reply, and would therefore know it had to retry
with a new connection.

Of course the chances of this happening are pretty slim, but any
application that makes heavy use of oneway calls is likely to see it
at some point.

Cheers,

Duncan.

-- 
 -- Duncan Grisby  \  Research Engineer  --
  -- AT&T Laboratories Cambridge          --
   -- http://www.uk.research.att.com/~dpg1 --



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]