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

分布式实时的【形状】系统中的一致性与可用性

Consistency vs. Availability in Distributed Real-Time Systems

Edward A. Lee, Ravi Akella, Soroush Bateni, Shaokai Lin, Marten Lohstroh, Christian Menard

摘要:

在分布式应用中,Brewer的CAP定理告诉我们,当网络变得分区(P)时,必须放弃一致性(C)或可用性(A)。一致性是共享变量值的一致性;可用性是响应访问这些共享变量的读写的能力。可用性是一个实时的【形】属性,而一致性是一个逻辑属性。我们已经扩展了CAP定理,将这两个属性的定量度量与通信和计算延迟(L)的定量度量联系起来,得到了一个称为CAL定理的关系,该关系在极大代数中是线性的。本文展示了如何以各种方式使用CAL定理来帮助设计实时的【形】系统。我们开发了一种方法,用于以特定于应用程序的方式系统地权衡可用性和一致性,并指导系统设计人员将功能放入终端设备,边缘计算机或云中。我们建立在Lingua Franca协调语言的基础上,为系统设计人员提供具体的分析和设计工具,以在可部署软件中进行所需的权衡。

英文摘要:

In distributed applications, Brewer's CAP theorem tells us that when networks become partitioned (P), one must give up either consistency (C) or availability (A). Consistency is agreement on the values of shared variables; availability is the ability to respond to reads and writes accessing those shared variables. Availability is a real-time property whereas consistency is a logical property. We have extended the CAP theorem to relate quantitative measures of these two properties to quantitative measures of communication and computation latency (L), obtaining a relation called the CAL theorem that is linear in a max-plus algebra. This paper shows how to use the CAL theorem in various ways to help design real-time systems. We develop a methodology for systematically trading off availability and consistency in application-specific ways and to guide the system designer when putting functionality in end devices, in edge computers, or in the cloud. We build on the Lingua Franca coordination language to provide system designers with concrete analysis and design tools to make the required tradeoffs in deployable software.

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

↑