Litcius/Paper detail

Using Lightweight Formal Methods to Validate a Key-Value Storage Node in Amazon S3

James Bornholt, Rajeev Joshi, Vytautas Astrauskas, Brendan Cully, Bernhard Kragl, Seth M. Markle, Kyle Sauri, Drew Schleit, Grant Slatton, Serdar Taşiran, Jacob Van Geffen, Andrew Warfield

202164 citationsDOIOpen Access PDF

Abstract

This paper reports our experience applying lightweight formal methods to validate the correctness of ShardStore, a new key-value storage node implementation for the Amazon S3 cloud object storage service. By "lightweight formal methods" we mean a pragmatic approach to verifying the correctness of a production storage node that is under ongoing feature development by a full-time engineering team. We do not aim to achieve full formal verification, but instead emphasize automation, usability, and the ability to continually ensure correctness as both software and its specification evolve over time. Our approach decomposes correctness into independent properties, each checked by the most appropriate tool, and develops executable reference models as specifications to be checked against the implementation. Our work has prevented 16 issues from reaching production, including subtle crash consistency and concurrency problems, and has been extended by non-formal-methods experts to check new features and properties as ShardStore has evolved.

Topics & Concepts

Computer scienceCorrectnessExecutableFormal verificationFormal methodsSoftware engineeringCloud computingFormal specificationUsabilityProgramming languageOperating systemDistributed systems and fault toleranceSecurity and Verification in ComputingScientific Computing and Data Management
Using Lightweight Formal Methods to Validate a Key-Value Storage Node in Amazon S3 | Litcius