首页> 外文期刊>IEEE Transactions on Parallel and Distributed Systems >Detection of weak unstable predicates in distributed programs
【24h】

Detection of weak unstable predicates in distributed programs

机译:在分布式程序中检测弱不稳定谓词

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

摘要

This paper discusses detection of global predicates in a distributed program. Earlier algorithms for detection of global predicates proposed by Chandy and Lamport (1985) work only for stable predicates. A predicate is stable if it does not turn false once it becomes true. Our algorithms detect even unstable predicates, without excessive overhead. In the past, such predicates have been regarded as too difficult to detect. The predicates are specified by using a logic described formally in this paper. We discuss detection of weak conjunctive predicates that are formed by conjunction of predicates local to processes in the system. Our detection methods will detect whether such a predicate is true for any interleaving of events in the system, regardless of whether the predicate is stable. Also, any predicate that can be reduced to a set of weak conjunctive predicates is detectable. This class of predicates captures many global predicates that are of interest to a programmer. The message complexity of our algorithm is bounded by the number of messages used by the program. The main applications of our results are in debugging and testing of distributed programs. Our algorithms have been incorporated in a distributed debugger that runs on a network of Sun workstations in UNIX.
机译:本文讨论了分布式程序中全局谓词的检测。由Chandy和Lamport(1985)提出的用于检测全局谓词的早期算法仅适用于稳定谓词。如果谓词一旦变为真就不会变为假,则它是稳定的。我们的算法甚至可以检测不稳定的谓词,而不会产生过多开销。在过去,这样的谓词被认为太难检测。通过使用本文正式描述的逻辑来指定谓词。我们讨论了检测弱联合谓词的情况,这些联合谓词是由系统中局部过程的谓词结合而成的。我们的检测方法将检测谓词对于系统中事件的任何交织是否正确,而不管谓词是否稳定。同样,可以将任何谓词简化为一组弱连接谓词。此类谓词捕获程序员感兴趣的许多全局谓词。我们算法的消息复杂度受程序使用的消息数量的限制。我们的结果的主要应用是在分布式程序的调试和测试中。我们的算法已并入分布式调试器中,该调试器在UNIX中的Sun工作站网络上运行。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号