arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2605.09114cs.DC
收藏

光锥一致性:闭包、排序与单观察者边界

Light Cone Consistency: Closure, Ordering, and the Single-Observer Boundary

Swytch BV(斯威奇有限公司)

Rob Landers, Kaben Kramer

AI总结:

本文通过因果闭包过滤器C和分支排序O两个算子,形式化了分布式系统中观察者相对的一致性模型,并揭示了可读性顺序、一致性棘轮和检测=预防边界等结构性质。

摘要:

每个分布式系统都是一个消息传递系统,每个消息传递系统都是一个由一组观察者观察的不断增长的因果DAG。我们将每个观察者的一致性视为其可见子DAG上的两个算子(因果闭包过滤器C,固定它必须看到的依赖关系;以及分支排序O,对过滤器允许的并发分支进行排序),并赋予结果空间以命名模型目录所缺乏的结构。这两个算子是不对称耦合的:细化因果关系的排序提供了过滤器从未要求的闭包。这种耦合产生了一个可判定的可读性顺序(一个配置的数据可以被另一个配置诚实地读取),并具有一个分解二分法:当排序不细化因果关系时,该顺序在C和O轴上精确分割,而当排序细化因果关系时则拒绝分割,跨轴间隙由排序提供的闭包填补。在该顺序上存在一个一致性棘轮(迁移中丢失的级别永远不会恢复)和一个检测=预防边界:系统可以判断其顺序颠倒了因果关系,仅当它保留了恰好可以防止这种颠倒的信息。经典结果在同一系统中以清晰的坐标呈现,而不是作为新主张:解决分支需要保留区分其分支的因果历史(数据库民间传说,这里对于每个消息传递系统都是不可能的),而线性化被解析为两个系统的组合:一个存储和一个全局实时序列化器,提供单个观察者光锥无法提供的顺序。命名模型是(C, O)的配置,在标准安全片段上精确,在其之外具有生成性,预测目录尚未命名的配置。LCC是Burgess和Gerlits的观察者相对一致性模型的形式化。

英文摘要:

Every distributed system is a message-passing system, and every message-passing system is a growing causal DAG observed by a set of observers. We treat each observer's consistency as two operators on its visible sub-DAG (a causal-closure filter $C$, fixing which dependencies it must have seen, and a fork resolution $O$, ordering the concurrent forks the filter admits) and give the resulting space the structure the flat catalog of named models lacks. The operators are coupled, asymmetrically: an order that refines causality supplies closure its filter never demanded. That coupling yields a decidable readability order (which configuration's data another can read honestly) with a factoring dichotomy: the order splits across the $C$ and $O$ axes exactly when ordering does not refine causality, and refuses to when it does, the cross-axis gap being the closure ordering supplies. On that order sit a consistency ratchet (a level lost under migration is never regained) and a Detection = Prevention bound: a system can tell its order inverted causality only if it retained exactly what would have prevented the inversion. The classical results land at clean coordinates in the same system, not as new claims: resolving a fork demands retaining the causal history that distinguishes its branches (database folklore, here an impossibility for every message-passing system) and linearizability resolves as a composite of two systems, a store and a global real-time serializer supplying an order no single observer's light cone can. The named models are configurations of $(C, O)$, exact over the standard-safety fragment and generative past it, predicting configurations the catalog has not named. LCC is a formalization of the observer-relative consistency model of Burgess and Gerlits.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑