Repairing serializability bugs in distributed database programs via automated schema refactoring
Repairing serializability bugs in distributed database programs via automated schema refactoring
复制标题
通过自动模式重构修复分布式数据库程序中的可序列化错误
DOI:
10.1145/3453483.3454028
复制
发表时间:
2021
期刊:
影响因子:
--
通讯作者:
Jagannathan, Suresh
中科院分区:
文献类型:
--
作者:
Rahmani, Kia;Nagar, Kartik;Delaware, Benjamin;Jagannathan, Suresh
Serializability is a well-understood concurrency control mechanism that eases reasoning about highly-concurrent database programs. Unfortunately, enforcing serializability has a high performance cost, especially on geographically distributed database clusters. Consequently, many databases allow programmers to choose when a transaction must be executed under serializability, with the expectation that transactions would only be so marked when necessary to avoid serious concurrency bugs. However, this is a significant burden to impose on developers, requiring them to (a) reason about subtle concurrent interactions among potentially interfering transactions, (b) determine when such interactions would violate desired invariants, and (c) then identify the minimum number of transactions whose executions should be serialized to prevent these violations. To mitigate this burden, this paper presents a sound fully-automated schema refactoring procedure that refactors a program’s data layout – rather than its concurrency control logic – to eliminate statically identified concurrency bugs, allowing more transactions to be safely executed under weaker and more performant database guarantees. Experimental results over a range of realistic database benchmarks indicate that our approach is highly effective in eliminating concurrency bugs, with safe refactored programs showing an average of 120% higher throughput and 45% lower latency compared to a serialized baseline.
登录
查看更多内容
影响因子:
8.9
作者:
Shiyong Lu;A. Bernstein;P. M. Lewis
通讯作者:
P. M. Lewis
影响因子:
1.8
作者:
Kaki, Gowtham;Earanky, Kapil;Jagannathan, Suresh
通讯作者:
Jagannathan, Suresh
影响因子:
--
作者:
Kia Rahmani;Kartik Nagar;Benjamin Delaware;S. Jagannathan
通讯作者:
Kia Rahmani;Kartik Nagar;Benjamin Delaware;S. Jagannathan
影响因子:
--
作者:
Yu Feng;R. Martins;O. Bastani;Işıl Dillig
通讯作者:
Yu Feng;R. Martins;O. Bastani;Işıl Dillig
影响因子:
--
作者:
Kaki, Gowtham;Priya, Swarn;Sivaramakrishnan, KC;Jagannathan, Suresh
通讯作者:
Jagannathan, Suresh