TY - GEN
T1 - Regular Sequential Serializability and Regular Sequential Consistency
AU - Helt, Jeffrey
AU - Burke, Matthew
AU - Levy, Amit
AU - Lloyd, Wyatt
N1 - Publisher Copyright:
© 2021 Owner/Author.
PY - 2021/10/26
Y1 - 2021/10/26
N2 - Strictly serializable (linearizable) services appear to execute transactions (operations) sequentially, in an order consistent with real time. This restricts a transaction's (operation's) possible return values and in turn, simplifies application programming. In exchange, strictly serializable (linearizable) services perform worse than those with weaker consistency. But switching to such services can break applications. This work introduces two new consistency models to ease this trade-off: regular sequential serializability (RSS) and regular sequential consistency (RSC). They are just as strong for applications: we prove any application invariant that holds when using a strictly serializable (linearizable) service also holds when using an RSS (RSC) service. Yet they relax the constraints on services - -they allow new, better-performing designs. To demonstrate this, we design, implement, and evaluate variants of two systems, Spanner and Gryff, relaxing their consistency to RSS and RSC, respectively. The new variants achieve better read-only transaction and read tail latency than their counterparts.
AB - Strictly serializable (linearizable) services appear to execute transactions (operations) sequentially, in an order consistent with real time. This restricts a transaction's (operation's) possible return values and in turn, simplifies application programming. In exchange, strictly serializable (linearizable) services perform worse than those with weaker consistency. But switching to such services can break applications. This work introduces two new consistency models to ease this trade-off: regular sequential serializability (RSS) and regular sequential consistency (RSC). They are just as strong for applications: we prove any application invariant that holds when using a strictly serializable (linearizable) service also holds when using an RSS (RSC) service. Yet they relax the constraints on services - -they allow new, better-performing designs. To demonstrate this, we design, implement, and evaluate variants of two systems, Spanner and Gryff, relaxing their consistency to RSS and RSC, respectively. The new variants achieve better read-only transaction and read tail latency than their counterparts.
KW - consistency
KW - databases
KW - distributed systems
UR - http://www.scopus.com/inward/record.url?scp=85119091800&partnerID=8YFLogxK
UR - http://www.scopus.com/inward/citedby.url?scp=85119091800&partnerID=8YFLogxK
U2 - 10.1145/3477132.3483566
DO - 10.1145/3477132.3483566
M3 - Conference contribution
AN - SCOPUS:85119091800
T3 - SOSP 2021 - Proceedings of the 28th ACM Symposium on Operating Systems Principles
SP - 163
EP - 179
BT - SOSP 2021 - Proceedings of the 28th ACM Symposium on Operating Systems Principles
PB - Association for Computing Machinery, Inc
T2 - 28th ACM Symposium on Operating Systems Principles, SOSP 2021
Y2 - 26 October 2021 through 29 October 2021
ER -