Knut Lorenzen
2010-11-25 16:02:10 UTC
Hello,
we are experiencing problems initialising our corba client. On startup, it
contacts the omninames service over network. This takes up to 8 (!)
seconds.
This is what the code roughly looks like this:
orb = ORB_init( ... );
Object_var obj = orb->resolve_initial_references("RootPOA");
POA_ptr poa = POA::_narrow( obj );
POA_Manager_ptr man = poa->the_POA_Manager();
man->activate();
Object_ptr ns = orb->resolve_initial_references("NamingService");
NamingContext_ptr cont = NamingContext::_narrow( ns ); // <- blocking call
orb->run();
It is especially slow in combination with .net as a dynamic link library.
We are on a local 1GBit Ethernet network with latencys << 1ms.
Omni-Orb 4.14 with Windows XP SP3
best regards,
Knut Lorenzen
we are experiencing problems initialising our corba client. On startup, it
contacts the omninames service over network. This takes up to 8 (!)
seconds.
This is what the code roughly looks like this:
orb = ORB_init( ... );
Object_var obj = orb->resolve_initial_references("RootPOA");
POA_ptr poa = POA::_narrow( obj );
POA_Manager_ptr man = poa->the_POA_Manager();
man->activate();
Object_ptr ns = orb->resolve_initial_references("NamingService");
NamingContext_ptr cont = NamingContext::_narrow( ns ); // <- blocking call
orb->run();
It is especially slow in combination with .net as a dynamic link library.
We are on a local 1GBit Ethernet network with latencys << 1ms.
Omni-Orb 4.14 with Windows XP SP3
best regards,
Knut Lorenzen