[omniORB] NameServer capacity

Duncan Grisby dgrisby@uk.research.att.com
Mon, 19 Feb 2001 17:41:14 +0000


On Monday 19 February, Pletyak Attila wrote:

> But in any case is there a solution to turn off the logging function of
> the NameServer? As the checkpoints are making such a big load to the
> machine that it cannot really serve requests until the checkpoint
> finished.

Almost all of the code in omniNames is to do with the logging. If you
don't need logging, it would be very easy to implement your own
service which stored a map of names to object references in memory.
You could either use the CosNaming interfaces (or a subset of them),
or just a simple interface relevant to your system.

A small application using an STL map (or a hashmap, or whatever) would
cope fine with what you want. In fact, you could probably get
acceptable performance with about 30 lines of Python and omniORBpy.

Cheers,

Duncan.

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