...
首页> 外文期刊>Distributed Computing >Causing communication closure: safe program composition with reliable non-FIFO channels
【24h】

Causing communication closure: safe program composition with reliable non-FIFO channels

机译:导致通信关闭:具有可靠的非FIFO通道的安全程序编写

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

摘要

A rigorous framework for analyzing safe composition of distributed programs is presented. It facilitates specifying notions of safe sequential execution of distributed programs in various models of communication. A notion of sealing is defined, where if a program P is immediately followed by a program Q that seals P then P will be communication-closed-it will execute as if it runs in isolation. None of its send or receive actions will match or interact with actions outside P. The applicability of sealing is illustrated by a study of program composition when communication is reliable but not necessarily FIFO. In this model, special care must be taken to ensure that messages do not accidentally overtake one another in the composed program. In this model no program that sends or receives messages can be composed automatically with arbitrary programs without jeopardizing their intended behavior. Safety of composition becomes context-sensitive and new tools are needed for ensuring it. The investigation of sealing in this model reveals a novel connection between Lamport causality and safe composition. A characterization of sealable programs is given, as well as efficient algorithms for testing if Q seals P and for constructing a seal for a class of straight-line programs. It is shown that every sealable program can be sealed using O(n) messages. In fact, 3n - 4 messages are necessary and sufficient in the worst case, despite the fact that a sealable program may be open to interference on Ω (n~2) channels.
机译:提出了用于分析分布式程序的安全组成的严格框架。它有助于在各种通信模型中指定安全顺序执行分布式程序的概念。定义了密封的概念,如果在程序P之后紧接着是密封Q的程序Q,则P将被通信关闭-它将像隔离运行一样执行。它的发送或接收动作都不会与P之外的动作匹配或交互。当通信可靠但不一定是FIFO时,通过研究程序组成可以说明密封的适用性。在这种模型中,必须格外小心,以确保在编写的程序中消息不会意外地被彼此超越。在此模型中,任何发送或接收消息的程序都不能与任意程序一起自动构成,而不会损害它们的预期行为。合成的安全性变得与上下文相关,因此需要新的工具来确保它的安全。在该模型中对密封的研究揭示了Lamport因果关系与安全成分之间的新颖联系。给出了可密封程序的特征,以及用于测试Q是否密封P以及为一类直线程序构造密封的有效算法。结果表明,每个可密封程序都可以使用O(n)消息进行密封。实际上,在最坏的情况下,尽管有一个可密封的程序可能会对Ω(n〜2)个通道造成干扰,但3n-4条消息是必要且足够的。

著录项

  • 来源
    《Distributed Computing 》 |2009年第2期| 73-91| 共19页
  • 作者

    Kai Engelhardt; Yoram Moses;

  • 作者单位

    School of Computer Science and Engineering, The University of New South Wales, Sydney, NSW 2052, Australia National ICT Australia Limited, The University of New South Wales, Locked Bag 6016, Sydney, NSW 1466, Australia;

    Department of Electrical Engineering, Technion, 32000 Haifa, Israel;

  • 收录信息 美国《科学引文索引》(SCI);美国《工程索引》(EI);
  • 原文格式 PDF
  • 正文语种 eng
  • 中图分类
  • 关键词

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号