首页> 外文会议>International Federated Conference on Distributed Computing Techniques;International Conference on Coordination Models and Languages >A Practical Tool-Chain for the Development of Coordination Scenarios Graphical Modeler, DSL, Code Generators and Automaton-Based Simulator
【24h】

A Practical Tool-Chain for the Development of Coordination Scenarios Graphical Modeler, DSL, Code Generators and Automaton-Based Simulator

机译:一种实用的工具链,用于开发协调场景图形建模器,DSL,代码生成器和基于自动机的模拟器

获取原文

摘要

Coordination scenarios have high demands on concurrency and interaction. However, these are typical sources for flaws in both design and implementation. A modeling approach enables reasoning about distributed algorithms and finding deficiencies right from the beginning. The Peer Model has been introduced as a modeling tool for distribution, concurrency and blackboard-based collaboration and coordination, relying on known foundations like tuple spaces, Petri Nets and Actor Model. A runtime system exists that serves Java developers for prototyping, but still a feasible tool-chain was missing, like for most academic systems. This paper presents a practical new tool-chain for the Peer Model consisting of a graphical modelling tool, building on a drawing program that exports XML. A translator parses the XML and translates it into a newly developed domain specific language that is the basis for code generation. One target is a new, formal automaton-based runtime written in the Go programming language. It allows systematic simulation runs of user models. The demo shows a peer competition scenario, where several players play a game, a global state holds the players' scores, and in addition each peer maintains a decentralized state. Before taking a move in the game, a peer asserts its current local state to be the same like the global one. If this is the case, it carries out its action and distributes the information about it to all other players for further verification. The scenario captures core coordination mechanisms found in blockchain systems.
机译:协调方案对并发性和互动的需求很高。然而,这些是设计和实施中的缺陷的典型来源。建模方法可以从头开始推理分布式算法并找到缺陷。对等模型作为分销,并发和黑板的协作和协调的建模工具,依赖于元组空间,Petri网和演员模型等已知的基础。存在运行时系统,为用于原型设计的Java开发人员,但仍然缺少可行的工具链,例如对于大多数学术系统。本文介绍了由图形建模工具组成的对等模型的实用新工具链,在导出XML的绘图程序上构建。翻译器解析XML并将其转换为新开发的域特定语言,这是代码生成的基础。一个目标是以GO编程语言编写的新的基于自动机制的运行时。它允许系统模拟的用户模型运行。 Demo显示了一个同行竞争情景,其中几名玩家玩游戏,全球州持有球员的分数,此外,每个对等体都维持分散的状态。在进行游戏中的举动之前,对等体将其当前的本地状态置于全球之类的当前状态。如果是这种情况,它会执行其动作并将有关其的信息分发给所有其他玩家以进行进一步验证。该方案捕获区块链系统中的核心协调机制。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号