Abstract
Heterogeneously distributed and parallel computing environments are highly dependent on hardware, data migration, and protocols. The result is significant difficulty in software reuse, portability across platforms, and an increased overall development effort. The appearance of a shared directory of unordered queues can be provided by integrating heterogeneous computers transparently. This integration provides a conducive environment for parallel and distributed application development, by abstracting the issues of hardware and communication. Object oriented technology is exploited to provide this seamless environment.
Introduction
In the early 1990s, parallel computing faced a significant hurdle: while hardware capabilities were expanding rapidly toward clusters of high-performance workstations, software development remained tethered to specific architectures. Developers attempting to run applications across diverse machines—such as an IBM SP-1 MPP alongside an Alpha cluster—faced immense complexity. They were forced to manually manage disparate transport protocols (e.g., TCP/IP vs. proprietary high-speed switches) and handle data migration between architectures with varying data formats. This resulted in "cluttered" code where interoperability logic often overshadowed the actual problem-solving algorithms.
The Distributed-Memo (D-Memo) System
To address these challenges, the authors propose Distributed-Memo (D-Memo), a programming system designed to simplify parallel computing across diverse hardware by providing a "virtual shared memory" abstraction. D-Memo is built upon a "Generic Modelling Framework" that handles low-level data coercion and process management, allowing the coordination layer to remain clean and portable.
The Folder and Memo Abstraction
At the heart of D-Memo is the concept of a directory of named "folders." Unlike the associative memory model used in systems like Linda, D-Memo treats each folder as a unique, unordered queue. Data units, termed "memos," are treated as object-oriented "transferables." These memos are intelligent objects capable of self-linearization—encoding and decoding themselves to traverse the network regardless of the destination's architecture.
Application Programming Interface
D-Memo provides a streamlined API to manage these folders and memos. The system handles the "where" and "how" of data movement transparently, often distributing folders across multiple servers to mitigate communication bottlenecks.
Key primitives include:
- Put/Get: Basic blocking operations for inserting and extracting memos.
- Alt: A nondeterministic operation that retrieves a memo from one of several specified folders.
- PutDelayed: A sophisticated tool for dataflow programming that facilitates "futures," allowing a process to continue execution while waiting for data to be produced.
Key Insights
The D-Memo model offers several advantages over contemporary coordination languages:
- Efficiency through Queues: By utilizing named folders (queues) rather than the "tuple spaces" of Linda, D-Memo eliminates the significant overhead associated with tuple matching.
- Implicit Synchronization: Synchronization is managed through the state of the folders. For instance, a
Getoperation on an empty folder naturally blocks the calling process, providing an implicit lock without requiring explicit semaphore logic. - Reactive Programming: Through support for "futures" and "I-structures," D-Memo enables a reactive style. If requested data is not yet available, the system can automatically queue subsequent operations to trigger upon the data's arrival.
Results and Applications
While primarily an architectural proposal, the flexibility of D-Memo is demonstrated through its ability to emulate various complex programming paradigms and data structures. The system successfully supports synchronization primitives (locks, counting semaphores, barriers) and advanced paradigms such as Master-Worker "job jars" and Remote Procedure Calls (RPC).
Furthermore, D-Memo can represent distributed arrays and complex linked structures, such as trees, across a heterogeneous network. This demonstrates the system's capability to handle non-trivial data organization within its simplified folder model.
Conclusion and Future Work
D-Memo provides a seamless interface that abstracts the incompatibilities of heterogeneous hardware, allowing researchers to focus on algorithmic development rather than low-level interoperability. However, challenges remain. The cost of "linearizing" complex data structures (like large trees with numerous pointers) for network transmission can impact performance. Additionally, while communication is abstracted, the initial placement of folder servers still relies on manual configuration. Future research will explore macro-dataflow and more sophisticated scheduling mechanisms to enhance load balancing in large-scale heterogeneous clusters.
Summary updated