【24h】

Optimising Java RMI Programs by Communication Restructuring

机译:通过通信重组优化Java RMI程序

获取原文
获取原文并翻译 | 示例

摘要

We present an automated run-time optimisation framework that can improve the performance of distributed applications written using Java RMI whilst preserving its semantics. Java classes are modified at load-time in order to intercept RMI calls as they occur. RMI calls are not executed immediately, but are delayed for as long as possible. When a dependence forces execution of the delayed calls, the aggregated calls are sent over to the remote server to be executed in one step. This reduces network overhead and the quantity of data sent, since data can be shared between calls. The sequence of calls may be cached on the server side along with any known constants in order to speed up future calls. A remote server may also make RMI calls to another remote server on behalf of the client if necessary. Our results show that the techniques can speed up distributed programs significantly, especially when operating across slower networks. We also discuss some of the challenges involved in maintaining program semantics, and show how the approach can be used for more ambitious optimisations in the future.
机译:我们提出了一个自动化的运行时优化框架,该框架可以提高使用Java RMI编写的分布式应用程序的性能,同时保留其语义。 Java类在加载时进行了修改,以便在发生RMI调用时对其进行拦截。 RMI调用不会立即执行,但会尽可能延迟。当依赖关系强制执行延迟的调用时,聚合的调用将发送到远程服务器以在一个步骤中执行。由于可以在呼叫之间共享数据,因此减少了网络开销和发送的数据量。调用序列可以与任何已知常量一起缓存在服务器端,以加快以后的调用速度。如有必要,远程服务器也可以代表客户端向另一个远程服务器进行RMI调用。我们的结果表明,该技术可以显着加快分布式程序的速度,尤其是在较慢的网络上运行时。我们还将讨论维护程序语义所涉及的一些挑战,并说明如何在将来将这种方法用于更雄心勃勃的优化。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号