期刊文献+

基于客户端缓存提高Java RMI性能的方法 被引量:2

Method for Java RMI based on client cache with improved performance
在线阅读 下载PDF
导出
摘要 Java中的远程方法调用是实现分布式系统的主要技术之一,但在实际应用中,过多重复的远程方法调用会影响程序性能。给出了一种基于客户端缓存的RMI方法,使用客户端本地缓存保存使用过的存根和结果,当客户端需要调用远程方法时首先查询缓存中是否存在将要调用的存根或结果,如果存在就直接从缓存中返回而不需要通过网络进行RMI调用。经过性能比较可以发现客户端缓存的加入能有效减少重复RMI调用的次数,从而提高程序响应速度并减少了占用的网络带宽。 Java remote method invocation (RMI) is one of approaches to develop distributed system, but in practice too many repeated remote method invocations may affect the performance of application. A method for RMI based on client side cache is given. A client first query in local cache whether there is the stub or result the client tries to invocate, and if they exist the client will directly use them without further remote method call through the network. The performance comparison shows that the method improves the performance of RMI by decreasing repeated invocation times and reducing network bandwidth occupied.
作者 吕锋 鲍刚
出处 《计算机工程与设计》 CSCD 北大核心 2008年第17期4450-4452,4457,共4页 Computer Engineering and Design
基金 国家自然科学基金国际合作与交流项目(50620130441)
关键词 远程方法调用 存根 缓存 分布式系统 索引 RMI stub cache distributed system index
  • 相关文献

参考文献7

  • 1Sun Microsystems. RMI Whitepaper [EB/OL]. http://java.sun. com/javase/technologies/core/basic/rmi/whitepaper/index.jsp.
  • 2戴亮,方晓勤,李丽.一种新的基于序列化的Java RMI方法[J].计算机工程,2006,32(22):99-101. 被引量:4
  • 3William Grosso. Java RMI [M]. NewYork:O'Reilly Associates Inc,2001:91-95.
  • 4Elliotte Rusty Harold.Java网络编程[M].北京:中国电力出版社,2005:617-625.
  • 5Daniel Hagimont,Fabierme Boyer.A configurable RMI mechanism for sharing distributed Java objects[J]. IEEE Internet Computing,2001,5(1):36-40.
  • 6李三红,吴永明,马云龙.基于Java RMI计算模型的智能查询技术的设计与实现[J].计算机应用与软件,2005,22(2):122-123. 被引量:2
  • 7Seong-Eun Chu,Dae-Wook Kang,Jae-Nam Kim.Efficient implementations of remote method invocation considering object consistency [C]. Cheju Island, Korea: Proceeding of IEEE Conference on Hybrid Information Technology,2006:634-641.

二级参考文献10

  • 1Java^TM2 SDK, Standard Edition Documentation, Sun corp.
  • 2Qusay H. Mahmoud, Distributed programming with java, 1,1,2002.
  • 3Bruce Eckel,Thinking in java, 1,1,2004.
  • 4Tony Loton, The smart approach to distributed performance monitoring with Java. frank smnmers.
  • 5Frank Sommers, Call on extensible RML, December 19,2003.
  • 6Reilly D, Reilly M, Java^TM Network Programming and Distributed Computing[M], Addison-Wesley, 2002.
  • 7Grosso W. Java RMI[M]. O'Reilly, 2001.
  • 8Oberg R, Mastering RMI: Developing Enterprise Applications in Java and EJB[M], John Wiley & Sons. 2001.
  • 9Matiaz J B, Ivan R. Java 2 RMI and IDL Compadson[M]. SIGS Publications, 2000-02.
  • 10Matjaz J B, Ales Z, Ivan R, Are Distributed Objects Fast Enough[M].SIGS Publications, 1998-05,

共引文献4

同被引文献11

引证文献2

二级引证文献2

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部