MobilityReadingGroup

π-calculus, Session Types research at Imperial College

A Typing Discipline for Statically Verified Crash Failure Handling in Distributed Systems
Malte VIERING, Tzu-Chun CHEN, Patrick EUGSTER, Raymond HU, Lukasz ZIAREK
27th European Symposium on Programming (ESOP 2018). p. 799 - 826

A key requirement for many distributed systems is to be resilient toward partial failures, allowing a system to progress despite the failure of some components. This makes programming of such systems daunting, particularly in regards to avoiding inconsistencies due to failures and asynchrony. This work introduces a formal model for crash failure handling in asynchronous distributed systems featuring a lightweight coordinator, modeled in the image of widely used systems such as ZooKeeper and Chubby. We develop a typing discipline based on multiparty session types for this model that supports the specification and static verification of multiparty protocols with explicit failure handling. We show that our type system ensures subject reduction and progress in the presence of failures. In other words, in a well-typed system even if some participants crash during execution, the system is guaranteed to progress in a consistent manner with the remaining participants.

@inproceedings{VCEHZ2018,
  author = {Malte Viering and Tzu-Chun Chen and Patrick Eugster and Raymond Hu and Lukasz Ziarek},
  title = {{A Typing Discipline for Statically Verified Crash Failure Handling in Distributed Systems}},
  booktitle = {27th European Symposium on Programming},
  series = {LNCS},
  volume = {10801},
  pages = {799--826},
  publisher = {Springer},
  year = 2018
}
@inproceedings{VCEHZ2018,
  author = {Malte Viering and Tzu-Chun Chen and Patrick Eugster and Raymond Hu and Lukasz Ziarek},
  title = {{A Typing Discipline for Statically Verified Crash Failure Handling in Distributed Systems}},
  booktitle = {27th European Symposium on Programming},
  series = {LNCS},
  volume = {10801},
  pages = {799--826},
  publisher = {Springer},
  doi = "10.1007/978-3-319-89884-1_28",
  year = 2018
}