License: Creative Commons Attribution 3.0 Unported license (CC BY 3.0)
When quoting this document, please refer to the following
DOI: 10.4230/LIPIcs.ECOOP.2019.18
URN: urn:nbn:de:0030-drops-108101
URL: https://drops.dagstuhl.de/opus/volltexte/2019/10810/
Mukherjee, Suvam ;
Raj, Nitin John ;
Govindraj, Krishnan ;
Deligiannis, Pantazis ;
Ravichandran, Chandramouleswaran ;
Lal, Akash ;
Rastogi, Aseem ;
Krishnaswamy, Raja
Reliable State Machines: A Framework for Programming Reliable Cloud Services
Abstract
Building reliable applications for the cloud is challenging because of unpredictable failures during a program's execution. This paper presents a programming framework, called Reliable State Machines (RSMs), that offers fault-tolerance by construction. In our framework, an application comprises several (possibly distributed) RSMs that communicate with each other via messages, much in the style of actor-based programming. Each RSM is fault-tolerant by design, thereby offering the illusion of being "always-alive". An RSM is guaranteed to process each input request exactly once, as one would expect in a failure-free environment. The RSM runtime automatically takes care of persisting state and rehydrating it on a failover. We present the core syntax and semantics of RSMs, along with a formal proof of failure-transparency. We provide a .NET implementation of the RSM framework for deploying services to Microsoft Azure. We carry out an extensive performance evaluation on micro-benchmarks to show that one can build high-throughput applications with RSMs. We also present a case study where we rewrite a significant part of a production cloud service using RSMs. The resulting service has simpler code and exhibits production-grade performance.
BibTeX - Entry
@InProceedings{mukherjee_et_al:LIPIcs:2019:10810,
author = {Suvam Mukherjee and Nitin John Raj and Krishnan Govindraj and Pantazis Deligiannis and Chandramouleswaran Ravichandran and Akash Lal and Aseem Rastogi and Raja Krishnaswamy},
title = {{Reliable State Machines: A Framework for Programming Reliable Cloud Services}},
booktitle = {33rd European Conference on Object-Oriented Programming (ECOOP 2019)},
pages = {18:1--18:29},
series = {Leibniz International Proceedings in Informatics (LIPIcs)},
ISBN = {978-3-95977-111-5},
ISSN = {1868-8969},
year = {2019},
volume = {134},
editor = {Alastair F. Donaldson},
publisher = {Schloss Dagstuhl--Leibniz-Zentrum fuer Informatik},
address = {Dagstuhl, Germany},
URL = {http://drops.dagstuhl.de/opus/volltexte/2019/10810},
URN = {urn:nbn:de:0030-drops-108101},
doi = {10.4230/LIPIcs.ECOOP.2019.18},
annote = {Keywords: Fault tolerance, Cloud computing, Actor framework}
}
Keywords: |
|
Fault tolerance, Cloud computing, Actor framework |
Collection: |
|
33rd European Conference on Object-Oriented Programming (ECOOP 2019) |
Issue Date: |
|
2019 |
Date of publication: |
|
10.07.2019 |