[omniORB] mixed bag of questions ...

David Riddoch djr@uk.research.att.com
Wed, 26 May 1999 14:47:57 +0100 (GMT)


On Wed, 26 May 1999 David.Chung@USPTO.GOV wrote:

> 	As a newbie, I have a number of questions ...
> 
> 	(1) is anyone working on transaction service for omniORB2?  Would
> anyone like to work on transaction service for omniORB2?
> 
> 	(2) when a local client makes a local call for ORB service
> (transaction, concurrency, etc), in response, does omniORB2 make a local
> subroutine call?  Or does it do something more time consuming, such as
> placing the local call in a request queue?  (I could not figure it out from
> my glances through the code).

Calls to local objects are implemented as virtual function calls.  So if
your CORBA service is implemented using CORBA objects, then the answer is
yes.

> 	(3) If it does make a local call for CORBA service, is it correct
> that the speed of the call is in the same order as subroutine calls?

Yes -- exactly the same cost as a virtual function call.

> 	(4) if one is using POA, the local client calls for CORBA services
> are no longer  treated as subroutine calls, right?  Is there thread
> switching in this case?

The POA has not yet been implemented on omniORB (I am working on it!).
However I can tell you how local calls are going to work.  They will still
be implemented as sub routine calls, but have to go through a few layers
of administration.  The result will be that the cost will be in the order
of a few sub routine calls, and a couple of mutex locks.  There is 
certainly no thread switching or queueing.


Hope that helps,
David