Web Services versus Distributed Objects: A Case Study of Performance and Interface Design

  • Authors:
  • William R. Cook;Janel Barfield

  • Affiliations:
  • University of Texas at Austin;University of Texas at Austin

  • Venue:
  • ICWS '06 Proceedings of the IEEE International Conference on Web Services
  • Year:
  • 2006

Quantified Score

Hi-index 0.00

Visualization

Abstract

Web services are promoted as a new model for distributed systems, yet many skeptics see them as simply a poor implementation of traditional remote procedure calls (RPC) or distributed objects. Previous comparisons support the skeptics: web services are shown to be significantly slower than RPC, and they lack features like automatic proxies. However, these studies are biased because they are based on an RPC communication style. Web services support a document-oriented style of communication that performs well even in the face of the high latency found in internet or business transactions. We investigate these issues by comparing the design and implementation of a small file server application implemented using RMI and web services. For this application, using the most straightforward implementation in both technologies, web services outperform RMI when accessing multiple/deeply nested files, especially over highlatency channels. However, the default web services interfaces are awkward to use, so we develop a technique for wrapping the web service to make it as easy to use as the distributed object implementation. The same wrappers are then used to implement the document-oriented communication style in RMI, which improves performance but significantly complicates the design. This case study provides a more detailed comparison of the relationship between web services and distributed objects.