Reliable State Machines: A Framework for Programming Reliable Cloud Services

02/25/2019
by   Suvam Mukherjee, et al.
0

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. Using our framework, a programmer can build an application as several (possibly distributed) RSMs that communicate with each other via messages, much in the style of actor-based programming. Each RSM is additionally fault-tolerant by design and offers 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 an implementation of the RSM framework and runtime on the .NET platform for deploying services to Microsoft Azure. We carried 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 rewrote a significant part of a production cloud service using RSMs. The resulting service has simpler code and exhibits production-grade performance.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
11/22/2021

Reliable Actors with Retry Orchestration

Enterprise cloud developers have to build applications that are resilien...
research
02/12/2020

Building Reliable Cloud Services Using P# (Experience Report)

Cloud services must typically be distributed across a large number of ma...
research
12/07/2019

Programming Scalable Cloud Services with AEON

Designing low-latency cloud-based applications that are adaptable to unp...
research
11/18/2021

Stateful Entities: Object-oriented Cloud Applications as Distributed Dataflows

Programming stateful cloud applications remains a very painful experienc...
research
10/31/2021

RRFT: A Rank-Based Resource Aware Fault Tolerant Strategy for Cloud Platforms

The applications that are deployed in the cloud to provide services to t...
research
07/26/2009

Aneka: A Software Platform for .NET-based Cloud Computing

Aneka is a platform for deploying Clouds developing applications on top ...
research
12/28/2017

Reliable Messaging to Millions of Users with MigratoryData

Web-based notification services are used by a large range of businesses ...

Please sign up or login with your details

Forgot password? Click here to reset