首页> 外文期刊>Distributed Computing >A framework for automated distributed implementation of component-based models
【24h】

A framework for automated distributed implementation of component-based models

机译:基于组件的模型的自动化分布式实现的框架

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

摘要

Although distributed systems are widely used nowadays, their implementation and deployment are still time-consuming, error-prone, and hardly predictable tasks. In this paper, we propose a method for producing automatically efficient and correct-by-construction distributed implementations from a model of the application software in Behavior, Interaction, Priority (BIP). BIP is a well-founded component-based framework encompassing high-level multi-party interactions for synchronizing components (e.g., rendezvous and broadcast) and dynamic priorities for scheduling between interactions. Our method transforms an arbitrary BIP model into a Send/Receive BIP model that is directly implementable on distributed execution platforms. The transformation consists in (1) breaking the atomicity of actions in components by replacing synchronous multiparty interactions with asynchronous Send/Receive interactions; (2) inserting distributed controllers that coordinate the execution of interactions according to a user-defined partition of interactions, and (3) adding a distributed algorithm for handling conflicts between controllers. The obtained Send/Receive BIP model is proven observationally equivalent to its corresponding initial model. Hence, all functional properties of the initial BIP model are preserved by construction in the implementation. Moreover, the obtained Send/Receive BIP model can be used to automatically derive distributed executable code. The proposed method is fully implemented. Currently, it is possible to generate C++ implementations for (1) TCP sockets for conventional distributed communication, (2) MPI for multi-processor platforms, and (3) POSIX threads for deployment on multi-core platforms. We present four case studies and report experimental results for different design choices including partition of interactions and choice of algorithm for distributed conflict resolution.
机译:尽管分布式系统在当今已被广泛使用,但是它们的实现和部署仍然很耗时,容易出错且难以预测。在本文中,我们提出了一种从行为,交互,优先级(BIP)中的应用软件模型自动生成高效且按构造正确的分布式实现的方法。 BIP是一个有良好基础的基于组件的框架,包含用于同步组件(例如集合点和广播)的高层多方交互以及用于交互之间调度的动态优先级。我们的方法将任意BIP模型转换为可在分布式执行平台上直接实现的发送/接收BIP模型。转换包括(1)通过用异步的Send / Receive交互替换同步的多方交互来打破组件中动作的原子性; (2)插入可根据用户定义的交互分区来协调交互执行的分布式控制器,以及(3)添加用于处理控制器之间冲突的分布式算法。在观察上证明所获得的发送/接收BIP模型等同于其相应的初始模型。因此,初始BIP模型的所有功能属性都通过在实现中进行构造来保留。此外,获得的发送/接收BIP模型可以用于自动派生分布式可执行代码。所提出的方法已完全实现。当前,可以针对以下方面生成C ++实现:(1)用于常规分布式通信的TCP套接字;(2)用于多处理器平台的MPI;以及(3)用于在多核平台上部署的POSIX线程。我们提供了四个案例研究,并报告了针对不同设计选择的实验结果,包括交互作用的分区和分布式冲突解决算法的选择。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号