Search code examples
javarmioverhead

Java: Expected overhead of the rmi protocol


Within my program I'm using two RMI servers, which provide different methods, to simulate a simple network protocol between two notebooks. From my trace log I can see that the transmission time of a "packet" currently varies between 850 and 1100 ms.

Are the transmission times in the expected range? Is the overhead of the RMI protocol really that large?

BR,

Markus


Solution

  • No, the overhead of RMI is not that large. Your requests would typically have to be very big or your network really slow for that kind of response time.