分布式算法从清晰到高效
From Clarity to Efficiency for Distributed Algorithms
摘要:
本文描述了一种非常高级的高级语言,用于清楚地描述生成高效实现所需的分布式算法和优化。该语言支持高级控制流,其中复杂的同步条件可以使用高级查询,特别是逻辑量化,在消息历史序列上表示。不幸的是,如果直接执行,程序将是非常低效的,包括消耗无限的内存。我们提出了新的优化,自动转换复杂的同步条件到必要的辅助值的增量更新的消息发送和接收。优化的核心是有效实现逻辑量化的第一种通用方法。我们已经开发了一个操作语义的语言,实现了原型的编译器和优化,并成功地使用的语言和实现的各种重要的分布式算法。
英文摘要:
This article describes a very high-level language for clear description of distributed algorithms and optimizations necessary for generating efficient implementations. The language supports high-level control flows where complex synchronization conditions can be expressed using high-level queries, especially logic quantifications, over message history sequences. Unfortunately, the programs would be extremely inefficient, including consuming unbounded memory, if executed straightforwardly. We present new optimizations that automatically transform complex synchronization conditions into incremental updates of necessary auxiliary values as messages are sent and received. The core of the optimizations is the first general method for efficient implementation of logic quantifications. We have developed an operational semantics of the language, implemented a prototype of the compiler and the optimizations, and successfully used the language and implementation on a variety of important distributed algorithms.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。