Skip to main content
QUICK REVIEW

[Paper 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 TechniquesComputer Science6 references9 citations
TL;DR

This paper presents a reflective middleware framework that enables non-distributed applications to be dynamically transformed into flexible, distributed systems without requiring early design decisions about communication boundaries. By using code transformation and runtime proxy substitution, the system allows transparent, adaptive distribution at runtime, supporting dynamic reconfiguration of distribution architecture based on environmental conditions.

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.

Motivation & Objective

  • To address the rigidity of current middleware systems that require early decisions about inter-machine communication classes.
  • To decouple application-level semantics from middleware-specific concerns for more natural software design.
  • To enable non-distributed applications to be transformed into isomorphic distributed applications with flexible distribution boundaries.
  • To support runtime adaptation of distribution architecture based on environmental conditions.
  • To provide transparent, configuration-driven distribution without user intervention during execution.

Proposed method

  • Employing a reflective framework to enable runtime introspection and modification of program structure.
  • Applying code transformation techniques to instrument source code for distribution transparency.
  • Introducing proxy objects that mediate cross-address space method invocations.
  • Using configuration-driven mechanisms to define and alter distribution boundaries at runtime.
  • Enabling dynamic substitution of proxies to adapt communication topology based on system context.
  • Ensuring isomorphism between original and transformed applications to preserve functional semantics.

Experimental results

Research questions

  • RQ1How can application distribution boundaries be made flexible and adaptable at runtime?
  • RQ2What mechanisms enable transparent distribution of non-distributed applications without early architectural decisions?
  • RQ3How can application semantics be separated from middleware-specific distribution logic?
  • RQ4What code transformation techniques support runtime adaptability in distributed systems?
  • RQ5How can proxy-based communication be used to enable cross-address space method invocation transparently?

Key findings

  • The framework successfully transforms non-distributed applications into isomorphic distributed systems with runtime flexibility in distribution configuration.
  • Proxy substitution enables transparent, cross-address space communication without modifying application logic.
  • The system supports dynamic adaptation of distribution architecture based on environmental conditions.
  • Code transformation techniques allow distribution to be configured without user intervention during execution.
  • The approach decouples application semantics from middleware-specific distribution concerns, enabling more modular and maintainable designs.
  • The system demonstrates feasibility of reflective, adaptive distribution in a middleware context through implementation at the 2003 Middleware conference.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.