• Post Reply Bookmark Topic Watch Topic
  • New Topic

RMI Limitations

 
Pratik Khetia
Ranch Hand
Posts: 50
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
I have a Java appllication which is running RMI server and it's kind of chat server and there are lot of stuff apart from normal messages which is being sent back and forth through this RMI server....
Now I have two basic question..
1. It is taking too much system resources..what should I do to get rid of this problem ??

2. What is the limitation on number of simultaneous users ?? How many users can be handled by the RMI Server ??
thanks
Pratik
 
Michael Ernest
High Plains Drifter
Sheriff
Posts: 7292
Netbeans IDE VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Pratik Khetia:
Hi All,
I have a Java appllication which is running RMI server and it's kind of chat server and there are lot of stuff apart from normal messages which is being sent back and forth through this RMI server....
Now I have two basic question..
1. It is taking too much system resources..what should I do to get rid of this problem ??

2. What is the limitation on number of simultaneous users ?? How many users can be handled by the RMI Server ?

1) That's almost too basic. But to answer in a very general way, there's no reason to believe RMI abnormally taxes system resources. Now, if you're moving large chunks of data, a network is a network is a network. How much are you moving? How much bandwidth do you have? How efficient is your throughput? Often it's a sufficient reminder to say that small amounts of code does not imply small amounts of work.
2) The limitation on simultaneous users would be the lesser of a) networking capacity; b) available heap memory for the server's JVM; c) latencies caused by coarse-grained synchronization.
Hope this helps,
------------------
Michael Ernest, co-author of: The Complete Java 2 Certification Study Guide
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!