分布式对象的显式批处理

E. Tilevich, W. Cook, Yang Jiao
{"title":"分布式对象的显式批处理","authors":"E. Tilevich, W. Cook, Yang Jiao","doi":"10.1109/ICDCS.2009.39","DOIUrl":null,"url":null,"abstract":"Although distributed object systems, including RMI and CORBA, enable object-oriented programs to be easily dis- tributed across a network, achieving acceptable performance usually requires client-specific optimization of server inter- faces, making such systems difficult to maintain and evolve. Automatic optimization techniques, including Batched Fu- tures and Communication Restructuring, do not work as well as hand optimization. This paper presents Batched Remote Method Invocation (BRMI), a language-level technique for clients to specify explicit batches of operations on remote objects. We have implemented BRMI for Java as an extension of RMI, with support for batches with array cursors, custom exception handling, conditionals and loops. BRMI allows common design patterns, including Data Transfer Objects and Remote Object Facade, to be constructed on the fly by clients. The performance benefits of batching operations are well known; our evaluation focuses on the usability of explicit batches, but we also confirm that BRMI outperforms RMI and scales significantly better when clients make multi- ple remote calls. The applicability of BRMI is demonstrated by rewriting third-party RMI client applications to use BRMI.","PeriodicalId":387968,"journal":{"name":"2009 29th IEEE International Conference on Distributed Computing Systems","volume":null,"pages":null},"PeriodicalIF":0.0000,"publicationDate":"2009-06-22","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"8","resultStr":"{\"title\":\"Explicit Batching for Distributed Objects\",\"authors\":\"E. Tilevich, W. Cook, Yang Jiao\",\"doi\":\"10.1109/ICDCS.2009.39\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"Although distributed object systems, including RMI and CORBA, enable object-oriented programs to be easily dis- tributed across a network, achieving acceptable performance usually requires client-specific optimization of server inter- faces, making such systems difficult to maintain and evolve. Automatic optimization techniques, including Batched Fu- tures and Communication Restructuring, do not work as well as hand optimization. This paper presents Batched Remote Method Invocation (BRMI), a language-level technique for clients to specify explicit batches of operations on remote objects. We have implemented BRMI for Java as an extension of RMI, with support for batches with array cursors, custom exception handling, conditionals and loops. BRMI allows common design patterns, including Data Transfer Objects and Remote Object Facade, to be constructed on the fly by clients. The performance benefits of batching operations are well known; our evaluation focuses on the usability of explicit batches, but we also confirm that BRMI outperforms RMI and scales significantly better when clients make multi- ple remote calls. The applicability of BRMI is demonstrated by rewriting third-party RMI client applications to use BRMI.\",\"PeriodicalId\":387968,\"journal\":{\"name\":\"2009 29th IEEE International Conference on Distributed Computing Systems\",\"volume\":null,\"pages\":null},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2009-06-22\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"8\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"2009 29th IEEE International Conference on Distributed Computing Systems\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1109/ICDCS.2009.39\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"2009 29th IEEE International Conference on Distributed Computing Systems","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/ICDCS.2009.39","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 8

摘要

尽管分布式对象系统,包括RMI和CORBA,使面向对象的程序能够很容易地分布在网络上,但要实现可接受的性能通常需要对服务器接口进行特定于客户端的优化,这使得这样的系统难以维护和发展。自动优化技术,包括批处理赋值和通信重构,不如手动优化工作得好。本文提出了批处理远程方法调用(BRMI),这是一种语言级技术,用于客户端明确指定远程对象上的批处理操作。我们已经为Java实现了BRMI,作为RMI的扩展,支持数组游标的批量处理、自定义异常处理、条件和循环。BRMI允许客户端动态地构建常见的设计模式,包括数据传输对象和远程对象Facade。批处理操作的性能优势是众所周知的;我们的评估侧重于显式批处理的可用性,但我们也确认,当客户端进行多个远程调用时,BRMI优于RMI,并且可扩展性明显更好。通过重写第三方RMI客户端应用程序以使用BRMI来证明BRMI的适用性。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
Explicit Batching for Distributed Objects
Although distributed object systems, including RMI and CORBA, enable object-oriented programs to be easily dis- tributed across a network, achieving acceptable performance usually requires client-specific optimization of server inter- faces, making such systems difficult to maintain and evolve. Automatic optimization techniques, including Batched Fu- tures and Communication Restructuring, do not work as well as hand optimization. This paper presents Batched Remote Method Invocation (BRMI), a language-level technique for clients to specify explicit batches of operations on remote objects. We have implemented BRMI for Java as an extension of RMI, with support for batches with array cursors, custom exception handling, conditionals and loops. BRMI allows common design patterns, including Data Transfer Objects and Remote Object Facade, to be constructed on the fly by clients. The performance benefits of batching operations are well known; our evaluation focuses on the usability of explicit batches, but we also confirm that BRMI outperforms RMI and scales significantly better when clients make multi- ple remote calls. The applicability of BRMI is demonstrated by rewriting third-party RMI client applications to use BRMI.
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
自引率
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学术文献互助群
群 号:481959085
Book学术官方微信