论文标题

懒惰状态确定:更多的可线交易并发性

Lazy State Determination: More concurrency for contending linearizable transactions

论文作者

Vale, Tiago M., Leitão, João, Preguiça, Nuno, Rodrigues, Rodrigo, Dias, Ricardo J., Lourenço, João M.

论文摘要

交易系统中的并发控制算法限制了并发性提供强烈的语义,从而导致高争议下的性能差。结果,许多交易系统避免了强大的语义来实现可接受的性能。我们表明,通过利用与交易计划相关的语义信息以增加并发,可以在维持线性化的同时显着提高性能。为此,我们介绍了懒惰的状态确定API,以轻松地将应用程序交易的语义公开到数据库中,并提出新的乐观和悲观的并发控制算法,以利用此信息在存在争议的情况下安全增加并发。我们的评估表明,与流行的TPC-C基准中的标准技术相比,我们的方法可以实现多达5倍的吞吐量,而延迟的延迟少1.5C。

The concurrency control algorithms in transactional systems limits concurrency to provide strong semantics, which leads to poor performance under high contention. As a consequence, many transactional systems eschew strong semantics to achieve acceptable performance. We show that by leveraging semantic information associated with the transactional programs to increase concurrency, it is possible to significantly improve performance while maintaining linearizability. To this end, we introduce the lazy state determination API to easily expose the semantics of application transactions to the database, and propose new optimistic and pessimistic concurrency control algorithms that leverage this information to safely increase concurrency in the presence of contention. Our evaluation shows that our approach can achieve up to 5x more throughput with 1.5c less latency than standard techniques in the popular TPC-C benchmark.

扫码加入交流群

加入微信交流群

微信交流群二维码

扫码加入学术交流群,获取更多资源