When is coordination intrinsically required by a distributed specification, rather than imposed by a particular protocol or implementation strategy? We give a general answer using minimal assumptions. In an asynchronous message-passing model, we show that a specification admits a coordination-free implementation if and only if it is monotone with respect to history extension under an appropriate order on observable outcomes. This Coordination Criterion is stated directly over Lamport histories -- partially ordered executions under happens-before -- and specification-defined observable outcomes, without assuming any particular programming language, object implementation, or protocol structure. It yields a sharp boundary between specifications that can be implemented without coordination and those for which coordination is unavoidable. The criterion provides a uniform explanation for a range of classical results, including CAP-style impossibility, CALM-style coordination-freedom, agreement and snapshot tasks, transactional isolation levels, and invariant confluence -- all instances of the same underlying semantic phenomenon.


翻译:在何种情况下,协调性是分布式规范本身所固有的要求,而非由特定协议或实现策略所强加的?我们基于最小化假设给出了一个普适性答案。在异步消息传递模型中,我们证明:当且仅当规范在可观测结果集的适当序关系下关于历史扩展具有单调性时,该规范才允许无协调实现。这一协调性准则直接基于Lamport历史(在happens-before关系下的偏序执行轨迹)和规范定义的可观测结果进行表述,无需假设任何特定的编程语言、对象实现或协议结构。该准则清晰划分了可实现无协调执行的规范与必须进行协调的规范之间的严格边界。该准则为一系列经典结论提供了统一解释,包括CAP式不可能性、CALM式无协调性、共识与快照任务、事务隔离级别以及不变式汇合性——所有这些均为同一底层语义现象的具体实例。

0
下载
关闭预览

相关内容

提示调优综述
专知会员服务
18+阅读 · 2025年7月10日
《战术系统的弹性通信》205页
专知会员服务
35+阅读 · 2025年4月28日
如果不是指挥和控制,那是什么:行动协调方法
专知会员服务
60+阅读 · 2024年6月12日
使用 Keras Tuner 调节超参数
TensorFlow
15+阅读 · 2020年2月6日
半监督深度学习小结:类协同训练和一致性正则化
异常检测的阈值,你怎么选?给你整理好了...
机器学习算法与Python学习
10+阅读 · 2018年9月19日
强化学习十大原则
专知
12+阅读 · 2018年9月17日
国家自然科学基金
1+阅读 · 2017年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
3+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
1+阅读 · 2015年12月31日
国家自然科学基金
1+阅读 · 2015年12月31日
国家自然科学基金
2+阅读 · 2015年12月31日
Arxiv
0+阅读 · 2月2日
VIP会员
相关基金
国家自然科学基金
1+阅读 · 2017年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
3+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
1+阅读 · 2015年12月31日
国家自然科学基金
1+阅读 · 2015年12月31日
国家自然科学基金
2+阅读 · 2015年12月31日
Top
微信扫码咨询专知VIP会员