Compositionality and Observational Refinement for Linearizability with Crashes

被引:0
|
作者
Vale, Arthur Oliveira [1 ]
Wang, Zhongye [1 ]
Chen, Yixuan [1 ]
You, Peixin [1 ]
Shao, Zhong [1 ]
机构
[1] Yale Univ, New Haven, CT 06520 USA
来源
关键词
Crash-Aware Linearizability; Strict Linearizability; Durable Linearibility; Compositional Linearizability;
D O I
10.1145/3689792
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Crash-safety is an important property of real systems, as the main functionality of some systems is resilience to crashes. Toward a compositional verification approach for crash-safety under full-system crashes, one observes that crashes propagate instantaneously to all components across all levels of abstraction, even to unspecified components, hindering compositionality. Furthermore, in the presence of concurrency, a correctness criterion that addresses both crashes and concurrency proves necessary. For this, several adaptations of linearizability have been suggested, each featuring different trade-offs between complexity and expressiveness. The recently proposed compositional linearizability framework shows that to achieve compositionality with linearizability, both a locality and observational refinement property are necessary. Despite that, no linearizability criterion with crashes has been proven to support an observational refinement property. In this paper, we define a compositional model of concurrent computation with full-system crashes. We use this model to develop a compositional theory of linearizability with crashes, which reveals a criterion, crash-aware linearizability, as its inherent notion of linearizability and supports both locality and observational refinement. We then show that strict linearizability and durable linearizability factor through crash-aware linearizability as two different ways of translating between concurrent computation with and without crashes, enabling simple proofs of locality and observational refinement for a generalization of these two criteria. Then, we show how the theory can be connected with a program logic for durable and crash-aware linearizability, which gives the first program logic that verifies a form of linearizability with crashes. We showcase the advantages of compositionality by verifying a library facilitating programming persistent data structures and a fragment of a transactional interface for a file system.
引用
收藏
页数:29
相关论文
共 35 条
  • [31] Ship-Mounted Real-Time Surface Observational System on board Indian Vessels for Validation and Refinement of Model Forcing Fields
    Harikumar, R.
    Nair, T. M. Balakrishnan
    Bhat, G. S.
    Nayak, Shailesh
    Reddem, Venkat Shesu
    Shenoi, S. S. C.
    JOURNAL OF ATMOSPHERIC AND OCEANIC TECHNOLOGY, 2013, 30 (03) : 626 - 637
  • [32] Ship-mounted real-time surface observational system on board Indian vessels for validation and refinement of model forcing fields
    Harikumar, R. (harikumar@incois.gov.in), 1600, American Meteorological Society (30):
  • [33] Increased injury severity and hospitalization rates following crashes with e-bikes versus conventional bicycles: an observational cohort study from a regional level II trauma center in Switzerland
    Till Berk
    Sascha Halvachizadeh
    Johannnes Backup
    Yannik Kalbas
    Thomas Rauer
    Ralph Zettl
    Hans-Christoph Pape
    Florian Hess
    Jo Ellen Welter
    Patient Safety in Surgery, 16
  • [34] Increased injury severity and hospitalization rates following crashes with e-bikes versus conventional bicycles: an observational cohort study from a regional level II trauma center in Switzerland
    Berk, Till
    Halvachizadeh, Sascha
    Backup, Johannnes
    Kalbas, Yannik
    Rauer, Thomas
    Zettl, Ralph
    Pape, Hans-Christoph
    Hess, Florian
    Welter, Jo Ellen
    PATIENT SAFETY IN SURGERY, 2022, 16 (01)
  • [35] Refinement and validation of a comprehensive clinical diagnostic model (GAMAD) based on gender, age, multitarget circulating tumour DNA methylation signature and commonly used serological biomarkers for early detection of hepatocellular carcinoma: a multicentre, prospective observational study protocol
    Yang, Tian
    Wang, Nanya
    Wang, Fengmei
    Liu, Hongmei
    Shen, Feng
    Lv, Guoyue
    BMJ OPEN, 2023, 13 (09):