2018 · 34 citations · 49 references
ComputingComputer ScienceComputer SystemsCompilersDistributed SystemsStorage SystemsConcurrency ControlConsistency ModelsData SynchronizationDistributed StorageDistributed TransactionsTransaction ManagementAbstractionConsistencyConsistency Models For Replicated DataData ConsistencyData Consistency ModelsDistributed Transaction ConsistencyStrong ConsistencyWeak Consistency
Distributed systems that mutate shared, replicated state are difficult to program, and while weakly consistent stores improve availability, some data still requires strong consistency. The authors propose MixT, an embedded language that enables mixed‑consistency transactions combining weakly and strongly consistent data. MixT lets programmers tag remote sites with consistency models, uses compile‑time information‑flow checks to safely mix models and auto‑partition transactions, and provides runtime safeguards for mixing across independent stores. Benchmarks demonstrate that mixed‑consistency transactions achieve near‑weak‑consistency speed while outperforming serializable transactions.
Programming concurrent, distributed systems is hard—especially when these systems mutate shared, persistent state replicated at geographic scale. To enable high availability and scalability, a new class of weakly consistent data stores has become popular. However, some data needs strong consistency. To manipulate both weakly and strongly consistent data in a single transaction, we introduce a new abstraction: mixed-consistency transactions, embodied in a new embedded language, MixT. Programmers explicitly associate consistency models with remote storage sites; each atomic, isolated transaction can access a mixture of data with different consistency models. Compile-time information-flow checking, applied to consistency models, ensures that these models are mixed safely and enables the compiler to automatically partition transactions. New run-time mechanisms ensure that consistency models can also be mixed safely, even when the data used by a transaction resides on separate, mutually unaware stores. Performance measurements show that despite their stronger guarantees, mixed-consistency transactions retain much of the speed of weak consistency, significantly outperforming traditional serializable transactions.
49
Giuseppe DeCandia, Deniz Hastorun, Madan Jampani et al. · 2007 · 3.5K citations
Avinash Lakshman, Prashant Malik · ACM SIGOPS Operating Systems Review · 2010 · 2.6K citations
Security Policies and Security Models
Joseph A. Goguen, José Meseguer · 1982 · 2.1K citations