Re: RMI Not Scalable?

Niclas Hedhman <[email protected]>
Newsgroups gmane.comp.java.sun.rmi
Message-ID <[email protected]>
On Sunday 26 June 2005 12:32, Robert DiFalco wrote:

> Keep the socket open for every client?

Ahhh... I must have misread your 'setup'. I took it that you had 1 server, and
then a smaller number of frontends (I called slaves), to which the clients
actually connected. I assumed that the call from the client to the slave was
synchronous and the call between the slave and the server was asynchronous.

Very well...

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.

If I was in your shoes, I would probably not try to squeeze that many clients
into the same host, and scale with hardware instead of spending a lot of time
on 'software engineering'. I have found that it seldom pays off, all factors
included (code maintenance, robustness, hardware price and lifespan, and so
forth).


Cheers
Niclas

===========================================================================
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.