首页> 外文期刊>The Journal of logic and algebraic programming >Automatic distributed code generation from formal models of asynchronous processes interacting by multiway rendezvous
【24h】

Automatic distributed code generation from formal models of asynchronous processes interacting by multiway rendezvous

机译:通过多路集合点交互的异步过程的形式化模型自动生成分布式代码

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

摘要

Formal process languages inheriting the concurrency and communication features of process algebras are convenient formalisms to model distributed applications, especially when they are equipped with formal verification tools (e.g., model checkers) to help hunting for bugs early in the development process. However, even starting from a fully verified formal model, bugs are likely to be introduced while translating (generally by hand) the concurrent model which relies on high-level and expressive communication primitives into the distributed implementation which often relies on low-level communication primitives. In this paper, we present DLC, a compiler that enables distributed code to be generated from models written in a formal process language called LNT, which is equipped with a rich verification toolbox named CADP, and where processes interact by value-passing multiway rendezvous. The generated code uses an elaborate protocol to implement rendezvous, and can be either executed in an autonomous way (i.e., without requiring additional code to be defined by the user), or connected to external software through user-modifiable C functions. The protocol itself is modeled in LNT and verified using CADP. We present several experiments assessing the performance of DLC, including the Raft consensus algorithm. (C) 2016 Elsevier Inc. All rights reserved.
机译:继承过程代数的并发和通信特性的形式化过程语言是对分布式应用程序进行建模的便捷形式,特别是当它们配备了形式验证工具(例如模型检查器)以帮助在开发过程的早期寻找错误时。但是,即使从经过充分验证的形式模型开始,也可能会在将(依赖于手动的)并发模型转换为依赖于高级和表达性通信原语的并发模型转换为通常依赖于低级通信原语的分布式实现时引入错误。 。在本文中,我们介绍了DLC,它是一种编译器,能够从称为LNT的正式过程语言编写的模型中生成分布式代码,该模型配备了一个名为CADP的丰富验证工具箱,并且过程通过值传递多路集合点进行交互。生成的代码使用复杂的协议来实现集合点,并且可以以自主方式执行(即,不需要用户定义其他代码),或者通过用户可修改的C函数连接到外部软件。该协议本身在LNT中建模,并使用CADP进行了验证。我们提出了一些评估DLC性能的实验,包括Raft共识算法。 (C)2016 Elsevier Inc.保留所有权利。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号