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

W. Cook, Janel Barfield
{"title":"Web Services versus Distributed Objects: A Case Study of Performance and Interface Design","authors":"W. Cook, Janel Barfield","doi":"10.4018/jwsr.2007070103","DOIUrl":null,"url":null,"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 high-latency 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","PeriodicalId":408032,"journal":{"name":"2006 IEEE International Conference on Web Services (ICWS'06)","volume":"15 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2006-09-18","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"36","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2006 IEEE International Conference on Web Services (ICWS'06)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.4018/jwsr.2007070103","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 36

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 high-latency 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
Web服务与分布式对象:性能和接口设计的案例研究
Web服务作为分布式系统的一种新模型被推广,然而许多怀疑论者认为它们只是传统远程过程调用(RPC)或分布式对象的一种糟糕实现。之前的比较支持了怀疑论者:Web服务被证明比RPC慢得多,而且它们缺乏自动代理之类的功能。然而,这些研究是有偏见的,因为它们是基于RPC通信风格的。Web服务支持面向文档的通信方式,即使面对Internet或业务事务中的高延迟,这种通信方式也能很好地执行。我们通过比较使用RMI和Web服务实现的小型文件服务器应用程序的设计和实现来研究这些问题。对于这个应用程序,使用两种技术中最直接的实现,Web服务在访问多个/深度嵌套文件时优于RMI,特别是在高延迟通道上。然而,默认的Web服务接口使用起来很笨拙,因此我们开发了一种包装Web服务的技术,使其与分布式对象实现一样易于使用。然后使用相同的包装器在RMI中实现面向文档的通信风格,这提高了性能,但显著地使设计复杂化。本案例研究对Web服务和分布式对象之间的关系进行了更详细的比较
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信