Optimistic crash consistency
Citations Over TimeTop 1% of 2013 papers
Abstract
We introduce optimistic crash consistency, a new approach to crash consistency in journaling file systems. Using an array of novel techniques, we demonstrate how to build an optimistic commit protocol that correctly recovers from crashes and delivers high performance. We implement this optimistic approach within a Linux ext4 variant which we call OptFS. We introduce two new file-system primitives, osync() and dsync(), that decouple ordering of writes from their durability. We show through experiments that OptFS improves performance for many workloads, sometimes by an order of magnitude; we confirm its correctness through a series of robustness tests, showing it recovers to a consistent state after crashes. Finally, we show that osync() and dsync() are useful in atomic file system and database update scenarios, both improving performance and meeting application-level consistency demands.
Related Papers
- → Study of Consistency and Performance Trade-Off in Cassandra(2022)6 cited
- → Relaxed Data Types as Consistency Conditions(2017)2 cited
- → Consistency types for replicated data in a higher-order distributed programming language(2020)2 cited
- → An Error-Reflective Consistency Model for Distributed Data Stores(2019)1 cited
- → Foundations of Consistency Types for a Higher-Order Distributed Language(2021)