Please use this identifier to cite or link to this item: http://hdl.handle.net/1893/30034
Appears in Collections:Computing Science and Mathematics Journal Articles
Peer Review Status: Refereed
Title: Transparent fault tolerance for scalable functional computation
Author(s): Stewart, Robert
Maier, Patrick
Trinder, Phil
Contact Email: patrick.maier@stir.ac.uk
Keywords: Software
Issue Date: 2016
Date Deposited: 15-Aug-2019
Citation: Stewart R, Maier P & Trinder P (2016) Transparent fault tolerance for scalable functional computation. Journal of Functional Programming, 26, Art. No.: e5. https://doi.org/10.1017/s095679681600006x
Abstract: Reliability is set to become a major concern on emergent large-scale architectures. While there are many parallel languages, and indeed many parallel functional languages, very few address reliability. The notable exception is the widely emulated Erlang distributed actor model that provides explicit supervision and recovery of actors with isolated state. We investigate scalable transparent fault tolerant functional computation with automatic supervision and recovery of tasks. We do so by developing HdpH-RS, a variant of the Haskell distributed parallel Haskell (HdpH) DSL with Reliable Scheduling. Extending the distributed work stealing protocol of HdpH for task supervision and recovery is challenging. To eliminate elusive concurrency bugs, we validate the HdpH-RS work stealing protocol using the SPIN model checker. HdpH-RS differs from the actor model in that its principal entities are tasks, i.e. independent stateless computations, rather than isolated stateful actors. Thanks to statelessness, fault recovery can be performed automatically and entirely hidden in the HdpH-RS runtime system. Statelessness is also key for proving a crucial property of the semantics of HdpH-RS: fault recovery does not change the result of the program, akin to deterministic parallelism. HdpH-RS provides a simple distributed fork/join-style programming model, with minimal exposure of fault tolerance at the language level, and a library of higher level abstractions such as algorithmic skeletons. In fact, the HdpH-RS DSL is exactly the same as the HdpH DSL, hence users can opt in or out of fault tolerant execution without any refactoring. Computations in HdpH-RS are always as reliable as the root node, no matter how many nodes and cores are actually used. We benchmark HdpH-RS on conventional clusters and an High Performance Computing platform: all benchmarks survive Chaos Monkey random fault injection; the system scales well e.g. up to 1,400 cores on the High Performance Computing; reliability and recovery overheads are consistently low even at scale.
DOI Link: 10.1017/s095679681600006x
Rights: This article has been published in a revised form in Journal of Functional Programming https://doi.org/10.1017/s095679681600006x. This version is free to view and download for private research and study only. Not for re-distribution, re-sale or use in derivative works. © Cambridge University Press 2016.

Files in This Item:
File Description SizeFormat 
Stewart_Maier_Trinder_JFP2016_preprint.pdfFulltext - Accepted Version456.86 kBAdobe PDFView/Open



This item is protected by original copyright



Items in the Repository are protected by copyright, with all rights reserved, unless otherwise indicated.

The metadata of the records in the Repository are available under the CC0 public domain dedication: No Rights Reserved https://creativecommons.org/publicdomain/zero/1.0/

If you believe that any material held in STORRE infringes copyright, please contact library@stir.ac.uk providing details and we will remove the Work from public display in STORRE and investigate your claim.