More efficient serialization and RMI for Java
Michæl Philippsen, Bernhard Haumacher, Christian Nester · Concurrency Practice and Experience · 2000
In current Java implementations, Remote Method Invocation (RMI) is too slow, especially for high-performance computing. RMI is designed for wide-area and high-latency networks, it is based on a slow object serialization, and it does not support high-performance communication networks. The paper demonstrates that a much faster drop-in RMI and an efficient drop-in serialization can be designed and implemented completely in Java without any native code. Moreover, the re-designed RMI supports non-TCP/IP communication networks, even with heterogeneous transport protocols. We demonstrate that for high-performance computing some of the official serialization's generality can and should be traded for speed. As a by-product, a benchmark collection for RMI is presented. On PCs connected through Ethernet, the better serialization and the improved RMI save a median of 45% (maximum of 71%) of the runtime for some set of arguments. On our Myrinet-based ParaStation network (a cluster of DEC Alphas) we save a median of 85% (maximum of 96%), compared to standard RMI, standard serialization, and Fast Ethernet; a remote method invocation runs as fast as 80 μs round trip time, compared with about 1.5 ms. Copyright © 2000 John Wiley & Sons, Ltd.
Cited by 110 works. doi:10.1002/1096-9128(200005)12:7<495::aid-cpe496>3.0.co;2-w
Authors
References
- The Art of Computer Programming
- The Art of Computer Programming
- Implementing remote procedure calls
- Myrinet: a gigabit-per-second local area network
- Performance of the Firefly RPC
- A high-level framework for network-based resource sharing
- TreadMarks: distributed shared memory on standard workstations and operating systems
- Limits to low-latency communication on high-speed networks
- Java/DSM: A platform for heterogeneous computing
- An efficient implementation of Java's remote method invocation