Re: RMI Not Scalable?

Peter Jones - JavaSoft East <[email protected]>
Newsgroups gmane.comp.java.sun.rmi
Message-ID <20050628045854.GB1962@east>
> If you are looking at 10k+ active concurrent clients, you should be
> aware that RMI defaults to KeepAlive at TCP level, which will keep
> the sockets open for a while, which may be 'forever' depending on
> your 'periodicity' of requests.

I don't quite understand that statement; the TCP-level keepalive
should only apply to a remote call in progress, and it is about
detecting loss of connection (and closing sockets) because of a
network partition or a hard crash of the remote host.  During normal
operation, idle JRMP connections are closed by the client (caller)
side according to that timeout that is controlled by the system
property "sun.rmi.transport.connectionTimeout" (default value of 15000
or 15 seconds).

-- Peter

===========================================================================
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.