[omniORB] How to realise colocation (maybe w/o POA)?

Duncan Grisby duncan at grisby.org
Thu Nov 6 11:06:23 GMT 2003


On Thursday 30 October, Gary Duzan wrote:
> In Message <1067530329.3fa138592e727 at webmail.in-berlin.de> ,
>    "W. Borgert" <debacle at debian.org> wrote:
> 
> =>Hello,
> =>
> =>we are building a server based on omniORB4 (Linux 2.6.0t9) that loads
> =>additional shared object files (including CORBA object implementations).
> =>Now we want to make the CORBA objects communicate in the most
> =>efficient way possible (no TCP, no marshalling, best: no POA at all).
> =>How can we achieve this with omniORB4?  Thanks in advance!
> 
>    Check here:
> 
> http://omniorb.sourceforge.net/cgi-bin/moin.cgi/OmniOrb4DevelopmentStatus#head-edec7a068ee171013662347ca3074d605582d426
> 
> In short, you need an extra flag for omniidl and a specialized POA policy,
> but it will give you a fast path through the POA.

The shortcut support gives you a fast path _around_ the POA, not
through it.

For the vast majority of purposes, the normal colocation support,
which goes through the POA, is fast enough. You don't need to do
anything special to get that. It just automatically happens if the
object is in the same process as the caller. It is not worth the race
condition risks of using the shortcut unless profiling tells you it's
really necessary.

Cheers,

Duncan.

-- 
 -- Duncan Grisby         --
  -- duncan at grisby.org     --
   -- http://www.grisby.org --



More information about the omniORB-list mailing list