An Empirical Comparison of Java Remote Communication Primitives for Intra-Node Data Transmission
This paper presents a benchmarking suite that measures the performance of using sockets and eXtensible Markup Language Remote Procedure Calls (XML-RPC) to exchange intra-node messages between Java Virtual Machines (JVMs). The paper also reports on an empirical study comparing sockets and XML-RPC with response time measurements from timers that use both operating system tools and Java language instrumentation. By leveraging packet filters inside the GNU/Linux kernel, the benchmark suite also calculates network resource consumption. Moreover, the framework interprets the response time results in light of memory subsystem metrics characterizing the behavior of the JVM.