Saturday, July 11, 2026
Science
No Result
View All Result
  • Login
  • HOME
  • SCIENCE NEWS
  • CONTACT US
  • HOME
  • SCIENCE NEWS
  • CONTACT US
No Result
View All Result
Scienmag
No Result
View All Result
Home Science News Technology and Engineering

Gria: An efficient deterministic concurrency control protocol

August 29, 2024
in Technology and Engineering
Reading Time: 3 mins read
0
Gria: An efficient deterministic concurrency control protocol
67
SHARES
605
VIEWS
Share on FacebookShare on Twitter
ADVERTISEMENT

The concurrency control in deterministic databases, i.e., deterministic concurrency control, ensures that each transaction batch produces a unique result. In this way, replicas can process transactions in batches without communicating with each other to ensure consistency, which is simpler and more efficient than non-deterministic databases in achieving high availability through replication.
Early deterministic concurrency control protocols, e.g. Calvin, Bohm, PWV, rely on the prior knowledge of the read-write set, which is impractical in most scenarios. The state-of-the-art Ari breaks this limitation. However, Aria has three issues. First, it is hard for users to configure a suitable batch size when the read-write set is unknown, while the batch size has a significant impact on performance. Second, the conflicts are fixed, making Aria may suffer a large number of conflicts even in low-concurrency scenarios, e.g., a single-thread scenario. Third, the write-after-write conflicts caused by concurrently in-place-update a single version makes Aria inefficient in write-intensive workloads. The running sample of Aria is shown in Figure 1.
To address these issues, we propose Gria, an efficient deterministic concurrency control protocol. Gria does not rely on the prior knowledge of the read-write set and has the following properties. First, the batch size of Gria is auto-scaling. Second, Gria’s conflict probability in low-concurrency scenarios is lower than that in high-concurrency scenarios. Third, Gria has no write-after-write conflicts by adopting a multi-version structure. A running sample of Gria is shown in Figure 2. To further reduce conflicts, we propose two optimizations: a reordering mechanism as well as a rechecking strategy. The evaluation result on two popular benchmarks shows that Gria outperforms Aria by 13x.
DOI: 10.1007/s11704-023-2605-z

Figure 1

Credit: Xinyuan WANG, Yun PENG, Hejiao HUANG

The concurrency control in deterministic databases, i.e., deterministic concurrency control, ensures that each transaction batch produces a unique result. In this way, replicas can process transactions in batches without communicating with each other to ensure consistency, which is simpler and more efficient than non-deterministic databases in achieving high availability through replication.
Early deterministic concurrency control protocols, e.g. Calvin, Bohm, PWV, rely on the prior knowledge of the read-write set, which is impractical in most scenarios. The state-of-the-art Ari breaks this limitation. However, Aria has three issues. First, it is hard for users to configure a suitable batch size when the read-write set is unknown, while the batch size has a significant impact on performance. Second, the conflicts are fixed, making Aria may suffer a large number of conflicts even in low-concurrency scenarios, e.g., a single-thread scenario. Third, the write-after-write conflicts caused by concurrently in-place-update a single version makes Aria inefficient in write-intensive workloads. The running sample of Aria is shown in Figure 1.
To address these issues, we propose Gria, an efficient deterministic concurrency control protocol. Gria does not rely on the prior knowledge of the read-write set and has the following properties. First, the batch size of Gria is auto-scaling. Second, Gria’s conflict probability in low-concurrency scenarios is lower than that in high-concurrency scenarios. Third, Gria has no write-after-write conflicts by adopting a multi-version structure. A running sample of Gria is shown in Figure 2. To further reduce conflicts, we propose two optimizations: a reordering mechanism as well as a rechecking strategy. The evaluation result on two popular benchmarks shows that Gria outperforms Aria by 13x.
DOI: 10.1007/s11704-023-2605-z



Journal

Frontiers of Computer Science

DOI

10.1007/s11704-023-2605-z

Method of Research

Experimental study

Subject of Research

Not applicable

Article Title

Gria: an efficient deterministic concurrency control protocol

Article Publication Date

15-Aug-2024

Share27Tweet17
Previous Post

Improvement of durability of membrane electrode assembly by frame sealing structure in temperature shock

Next Post

Protein mutant stability can be inferred from AI-predicted structures

Related Posts

Transient Simulation Advances in Bioresorbable Flexible Electronic Circuits
Technology and Engineering

Transient Simulation Advances in Bioresorbable Flexible Electronic Circuits

July 11, 2026
Trends and Advances in Pediatric Mycoplasma pneumoniae Pneumonia Research
Technology and Engineering

Trends and Advances in Pediatric Mycoplasma pneumoniae Pneumonia Research

July 11, 2026
Urban Navigation Services Increase Traffic Congestion in Cities
Technology and Engineering

Urban Navigation Services Increase Traffic Congestion in Cities

July 11, 2026
Ultra-fine bubbles revolutionize future of inkjet printing technology
Technology and Engineering

Ultra-fine bubbles revolutionize future of inkjet printing technology

July 11, 2026
AGA Introduces Nigel, AI Assistant for Gastroenterology and Hepatology
Technology and Engineering

AGA Introduces Nigel, AI Assistant for Gastroenterology and Hepatology

July 10, 2026
Soil Type Influences Impact of Carbon and Nitrogen on Nitrous Oxide Emissions
Technology and Engineering

Soil Type Influences Impact of Carbon and Nitrogen on Nitrous Oxide Emissions

July 10, 2026
Next Post
Protein mutant stability can be inferred from AI-predicted structures

Protein mutant stability can be inferred from AI-predicted structures

  • Mothers who receive childcare support from maternal grandparents show more

    Mothers who receive childcare support from maternal grandparents show more parental warmth, finds NTU Singapore study

    27656 shares
    Share 11059 Tweet 6912
  • University of Seville Breaks 120-Year-Old Mystery, Revises a Key Einstein Concept

    1061 shares
    Share 424 Tweet 265
  • Bee body mass, pathogens and local climate influence heat tolerance

    682 shares
    Share 273 Tweet 171
  • Researchers record first-ever images and data of a shark experiencing a boat strike

    546 shares
    Share 218 Tweet 137
  • Groundbreaking Clinical Trial Reveals Lubiprostone Enhances Kidney Function

    531 shares
    Share 212 Tweet 133
Science

Embark on a thrilling journey of discovery with Scienmag.com—your ultimate source for cutting-edge breakthroughs. Immerse yourself in a world where curiosity knows no limits and tomorrow’s possibilities become today’s reality!

RECENT NEWS

  • Transient Simulation Advances in Bioresorbable Flexible Electronic Circuits
  • Assessing Net-Zero Potential of Offshore Oil Platforms under New Policies
  • Evaluating Geriatric Assessment and Interventions for Prostate Cancer Patients on ADT
  • Epigenetic Brain Effects of Ketamine and MDMA as Psychoplastogens

Categories

  • Agriculture
  • Anthropology
  • Archaeology
  • Athmospheric
  • Biology
  • Biotechnology
  • Blog
  • Bussines
  • Cancer
  • Chemistry
  • Climate
  • Earth Science
  • Editorial Policy
  • Marine
  • Mathematics
  • Medicine
  • Pediatry
  • Policy
  • Psychology & Psychiatry
  • Science Education
  • Social Science
  • Space
  • Technology and Engineering

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 5,146 other subscribers

© 2025 Scienmag - Science Magazine

Welcome Back!

Login to your account below

Forgotten Password?

Retrieve your password

Please enter your username or email address to reset your password.

Log In
No Result
View All Result
  • HOME
  • SCIENCE NEWS
  • CONTACT US

© 2025 Scienmag - Science Magazine

Discover more from Science

Subscribe now to keep reading and get access to the full archive.

Continue reading