[omniORB] First corba call to Java orb takes long time to complete
Grefstad, Ingvill
Ingvill.Grefstad@fks.fmcti.com
Fri, 16 Nov 2001 10:52:35 +0100
Hello,
We are using omniORB2 Ver.2.8 ported to pSOS and JDK 1.4beta3 on Win2000. We
transfer the IOR from server to client via UDP.
The first time a CORBA call is done it takes approx. 4.5 seconds. Succeeding
calls takes approx. 0.1 sec.
If the omniORB closes the connection (connection timeout) between two CORBA
calls, a new 4.5 sec. delay is introduced.
If the PC with the CORBA-server is set up to use DNS, the initial delay is
approx. 20 seconds.
On the other hand, the first call between client and server code both
connected to omniORB 2.8 on two different network nodes, takes only about 20
milliseconds.
The delay appears to be on the server-side (Java ORB). Network monitoring
has shown that the long delay typically is between a GIOP "LocateRequest"
and a "LocateReply" message. The time between the following "Request" and
"Reply" is just a few milliseconds. If, however, the
LocateRequest/LocateReply is omitted, the long delay is between the GIOP
Request and Reply (the invocation itself).
Has anybody experienced the same? Any way to get rid of (or significantly
decrease) the delay?
Thanks in advance!
-Ingvill