Latch-free Synchronization in Database Systems: Silver Bullet or Fool's Gold?
Latch-free Synchronization in Database Systems: Silver Bullet or Fool's Gold?
复制标题
DOI:
--
复制
发表时间:
2017
期刊:
影响因子:
--
通讯作者:
Jose M. Faleiro;D. Abadi
中科院分区:
文献类型:
--
作者:
Jose M. Faleiro;D. Abadi
Recent research on multi-core database architectures has made the argument that, when possible, database systems should abandon the use of latches in favor of latch-free algorithms. Latch-based algorithms are thought to scale poorly due to their use of synchronization based on mutual exclusion . In contrast, latch-free algorithms make strong theoretical guarantees which ensure that the progress of a thread is never impeded due to the delay or failure of other threads. In this paper, we analyze the various factors that influence the performance and scalability of latch-free and latch-based algorithms, and perform a microbenchmark evaluation of latch-free and latch-based synchronization algorithms. Our findings indicate that the argument for latch-free algorithms’ superior scalability is far more nuanced than the current state-of-the-art in multi-core data-base architectures suggests.