Polaris: Enabling Transaction Priority in Optimistic Concurrency Control

Author:

Ye Chenhao1ORCID,Hwang Wuh-Chwen1ORCID,Chen Keren1ORCID,Yu Xiangyao1ORCID

Affiliation:

1. University of Wisconsin-Madison, Madison, WI, USA

Abstract

Transaction priority is a critical feature for real-world database systems. Under high contention, certain classes of transactions should be given a higher chance to commit than others. Such a prioritization mechanism is commonly implemented in locking-based concurrency control protocols as some lock scheduling mechanisms, but it is rarely supported in the world of optimistic concurrency control. We present Polaris, an optimistic concurrency control protocol that supports multiple priority levels. To enforce priority, Polaris introduces a minimal amount of pessimism through a lightweight reservation mechanism. The protocol is fully optimistic among transactions within the same priority level and preserves the high throughput advantage of optimistic protocols. Our evaluation with YCSB workload shows that Polaris can make the p999 tail latency of high-priority transactions 13x lower than that of low-priority ones. With an abort-aware priority assignment policy, Polaris can deliver 1.9x higher throughput and 17x lower tail latency compared to Silo for high-contention workloads.

Funder

NSF

Publisher

Association for Computing Machinery (ACM)

Reference36 articles.

1. Scheduling Real-Time Transactions;Abbott Robert K.;A Performance Evaluation. ACM Trans. Database Syst.,1992

2. William Assaf. n.d.. SET DEADLOCK_PRIORITY (Transact-SQL) - SQL Server. https://docs.microsoft.com/en-us/sql/t-sql/statements/set-deadlock-priority-transact-sql?view=sql-server-ver15 William Assaf. n.d.. SET DEADLOCK_PRIORITY (Transact-SQL) - SQL Server. https://docs.microsoft.com/en-us/sql/t-sql/statements/set-deadlock-priority-transact-sql?view=sql-server-ver15

3. Plor: General Transactions with Predictable, Low Tail Latency

4. CockroachDB. n.d.. Transaction | CockroachDB Docs. https://www.cockroachlabs.com/docs/v21.2/transactions#transaction-priorities CockroachDB. n.d.. Transaction | CockroachDB Docs. https://www.cockroachlabs.com/docs/v21.2/transactions#transaction-priorities

5. Benchmarking cloud serving systems with YCSB

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3