Trading Off Consistency and Availability in Tiered Heterogeneous Distributed Systems

Autor: Edward A. Lee, Soroush Bateni, Shaokai Lin, Marten Lohstroh, Christian Menard
Jazyk: angličtina
Rok vydání: 2023
Předmět:
Zdroj: Intelligent Computing, Vol 2 (2023)
Druh dokumentu: article
ISSN: 2771-5892
DOI: 10.34133/icomputing.0013
Popis: Tiered distributed computing systems, where components run in Internet-of-things devices, in edge computers, and in the cloud, introduce unique difficulties in maintaining consistency of shared data while ensuring availability. A major source of difficulty is the highly variable network latencies that applications must deal with. It is well known in distributed computing that when network latencies rise sufficiently, one or both of consistency and availability must be sacrificed. This paper quantifies consistency and availability and gives an algebraic relationship between these quantities and network latencies. The algebraic relation is linear in a max-plus algebra and supports heterogeneous networks, where the communication latency between 2 components may differ from the latency between another 2 components. We show how to make use of this algebraic relation to guide design, enabling software designers to specify consistency and availability requirements, and to derive from those the requirements on network latencies. We show how to design systems to fail in predictable ways when the network latency requirements are violated, by choosing to sacrifice either consistency or availability.
Databáze: Directory of Open Access Journals