事务修复:完全可序列化,无锁
Transaction Repair: Full Serializability Without Locks
摘要:
事务修复是一种无锁、可伸缩的事务处理方法,可实现完全的可序列化。它演示了即使在所有事务对都有显著读写冲突的不利场景中也能实现并行加速。在事务修复方法中,每个事务在数据库的一个分支中完全隔离地运行;当发生冲突时,我们检测并修复它们。这些修复是并行有效地执行的,净效果是串行处理。在事务中,我们不使用锁。这将用户从锁的复杂性和性能危险中解放出来,并从子SERIALIZABLE隔离级别的异常中解放出来。我们的方法建立在一个增量式的变量的蛙跳triejoin,最坏情况下的最佳算法$\exists_1$公式,并建立在完善的技术从程序设计语言:声明性语言,纯功能的数据结构,增量计算和定点方程。
英文摘要:
Transaction Repair is a method for lock-free, scalable transaction processing that achieves full serializability. It demonstrates parallel speedup even in inimical scenarios where all pairs of transactions have significant read-write conflicts. In the transaction repair approach, each transaction runs in complete isolation in a branch of the database; when conflicts occur, we detect and repair them. These repairs are performed efficiently in parallel, and the net effect is that of serial processing. Within transactions, we use no locks. This frees users from the complications and performance hazards of locks, and from the anomalies of sub-SERIALIZABLE isolation levels. Our approach builds on an incrementalized variant of leapfrog triejoin, a worst-case optimal algorithm for $\exists_1$ formulae, and on well-established techniques from programming languages: declarative languages, purely functional data structures, incremental computation, and fixpoint equations.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。