Skip to main content
QUICK REVIEW

[论文解读] A Reflective Approach to Providing Flexibility in Application Distribution

Álvaro J. Rebón Portillo, Scott Mervyn Walker|arXiv (Cornell University)|Jun 29, 2010
Parallel Computing and Optimization Techniques参考文献 6被引用 9
一句话总结

本文提出了一种反射中间件框架,使非分布式应用程序能够在无需早期确定通信边界的情况下,被动态转换为灵活的分布式系统。通过使用代码转换和运行时代理替换,该系统支持在运行时透明、自适应地进行分布,能够根据环境条件动态重新配置分布架构。

ABSTRACT

Current middleware systems suffer from drawbacks. Often one is forced to make decisions early in the design process about which classes may participate in inter-machine communication. Further, application level and middleware specific semantics cannot be separated forcing an unnatural design. The RAFDA project proposes to adress these deficiencies by creating an adaptive, reflective framework that enables the transformation of non-distributed applications into isomorphic applications whose distribution architecture is flexible. This paper describes the code transformation techniques that have been developed as part of the project. The system enables the distribution of a program according to a flexible configuration without user intervention. Proxy objects can then be substituted, permitting cross-address space communication. The distributed program can adapt to its environment by dynamically altering its distribution boundaries.

研究动机与目标

  • 解决当前中间件系统在需要早期决定跨机器通信类别的刚性问题。
  • 将应用层语义与中间件特定的关注点解耦,以实现更自然的软件设计。
  • 使非分布式应用程序能够被转换为同构的分布式应用程序,且分布边界具有灵活性。
  • 支持基于环境条件的运行时分布架构自适应。
  • 提供透明的、基于配置的分布机制,执行期间无需用户干预。

提出的方法

  • 采用反射框架以支持程序结构的运行时内省和修改。
  • 应用代码转换技术对源代码进行插桩,以实现分布透明性。
  • 引入代理对象以中介跨地址空间的方法调用。
  • 使用基于配置的机制在运行时定义和修改分布边界。
  • 通过动态替换代理,根据系统上下文自适应通信拓扑。
  • 确保原始应用与转换后应用之间的同构性,以保持功能语义不变。

实验结果

研究问题

  • RQ1如何实现在运行时灵活且可适应的分布边界?
  • RQ2何种机制能够实现在无需早期架构决策的情况下,透明地分布非分布式应用程序?
  • RQ3如何将应用语义与中间件特定的分布逻辑分离?
  • RQ4何种代码转换技术能够支持分布式系统中的运行时自适应性?
  • RQ5如何使用基于代理的通信来透明地支持跨地址空间的方法调用?

主要发现

  • 该框架成功地将非分布式应用程序转换为同构的分布式系统,并在分布配置方面实现了运行时灵活性。
  • 代理替换实现了无需修改应用逻辑的透明跨地址空间通信。
  • 该系统支持基于环境条件的分布架构动态自适应。
  • 代码转换技术允许在执行期间无需用户干预即可配置分布。
  • 该方法将应用语义与中间件特定的分布关注点解耦,从而支持更模块化和可维护的设计。
  • 通过在2003年中间件会议上的实现,该系统证明了在中间件环境中实现反射式、自适应分布的可行性。

更好的研究,从现在开始

从阅读论文到最终审阅,大幅缩短您的研究时间。

无需绑定信用卡

本解读由 AI 生成,并经人工编辑审核。