Re: Performance of java rmi

Niclas Hedhman <[email protected]> Mon, 15 Jun 2009 14:35:57 +0800
Newsgroups gmane.comp.java.sun.rmi
Message-ID <[email protected]>
On Fri, Jun 12, 2009 at 6:20 PM, lachhman<[email protected]> wrote:
> Hi,
>
> Why is that the first call to java remote object, especially rmi registry is
> far slower than subsequent calls?

In my experience it is mostly due to DNS lookup & TCP connection
establishment, but YMMV.


Cheers
-- 
Niclas Hedhman, Software Developer
http://www.qi4j.org - New Energy for Java

I  live here; http://tinyurl.com/2qq9er
I  work here; http://tinyurl.com/2ymelc
I relax here; http://tinyurl.com/2cgsug

===========================================================================
To unsubscribe, send email to [email protected] and include in the body
of the message "signoff RMI-USERS".  For general help, send email to
[email protected] and include in the body of the message "help".

For a list of frequently asked RMI questions please refer to:
http://java.sun.com/j2se/1.3/docs/guide/rmi/faq.html

To view past RMI-USERS postings, please see:
http://archives.java.sun.com/archives/rmi-users.html