首页    期刊浏览 2024年12月04日 星期三
登录注册

文章基本信息

  • 标题:Reliable State Machines: A Framework for Programming Reliable Cloud Services
  • 本地全文:下载
  • 作者:Suvam Mukherjee ; Nitin John Raj ; Krishnan Govindraj
  • 期刊名称:LIPIcs : Leibniz International Proceedings in Informatics
  • 电子版ISSN:1868-8969
  • 出版年度:2019
  • 卷号:134
  • 页码:1-29
  • DOI:10.4230/LIPIcs.ECOOP.2019.18
  • 出版社:Schloss Dagstuhl -- Leibniz-Zentrum fuer Informatik
  • 摘要: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.
  • 关键词:Fault tolerance; Cloud computing; Actor framework
国家哲学社会科学文献中心版权所有