[omniORB] local invocations

Stefan Seefeld seefeld@sympatico.ca
Thu, 08 Nov 2001 13:06:25 -0500


Duncan Grisby wrote:


> For the real speed freaks (Hi Stefan and Stephen!) I've just checked
> in a shortcut mechanism for in-process colocated calls. This reduces
> the time for a colocated call from 2000 nanoseconds to 70 ns, at the
> expense of no longer being CORBA compliant.


that's awesome !
I can't wait to try it out. Let me try to put the requirements into 
context to make this work properly and safely:

* no POACurrent

* calls are never serialized (you say 'threading policy is
   ignored' without stating what the fallback mechanism is :),
   i.e. I have to care for locking etc. in user code.

* I have to make sure objects aren't being deactivated while they are
   in the middle of a call.
   What does this last point mean ? I guess the POA doesn't obtain a
   reference for the time of the method call, right ? Since I use ref
   counted servants, what can I do to assure method calls and
   deactivation are properly serialized ?

In any case, I'm totally excited about this great news.
Thanks a lot for all the work, Duncan !

Stefan