Efficient snapshot isolation in paxos-replicated database systems

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

Abstract

Modern database systems are increasingly deployed in a cluster of commodity machines with Paxos-based replication technique to offer better performance, higher availability and fault-tolerance. The widely adopted implementation is that one database replica is elected to be a leader and to be responsible for transaction requests. After the transaction execution is completed, the leader generates transaction log and commit this transaction until the log has been replicated to a majority of replicas. The state of the leader is always ahead of that of the follower replicas since the leader commits the transactions firstly and then notifies other replicas of the latest committed log entries in the later communication. As the follower replica can’t immediately provide the latest snapshot, both read-write and read-only transactions would be executed at the leader to guarantee the strong snapshot isolation semantic. In this work, we design and implement an efficient snapshot isolation scheme. This scheme uses adaptive timestamp allocation to avoid frequently requesting the leader to assign transaction timestamps. Furthermore, we design an early log replay mechanism for follower replicas. It allows the follower replica to execute a read operation without waiting to replay log to generate the required snapshot. Comparing with the conventional implementation, we experimentally show that the optimized snapshot isolation for Paxos-replicated database systems has better performance in terms of scalability and throughput.

Original languageEnglish
Title of host publicationDatabase Systems for Advanced Applications - 23rd International Conference, DASFAA 2018, Proceedings
EditorsJian Pei, Shazia Sadiq, Jianxin Li, Yannis Manolopoulos
PublisherSpringer Verlag
Pages649-665
Number of pages17
ISBN (Print)9783319914572
DOIs
StatePublished - 2018
Event23rd International Conference on Database Systems for Advanced Applications, DASFAA 2018 - Gold Coast, Australia
Duration: 21 May 201824 May 2018

Publication series

NameLecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
Volume10828 LNCS
ISSN (Print)0302-9743
ISSN (Electronic)1611-3349

Conference

Conference23rd International Conference on Database Systems for Advanced Applications, DASFAA 2018
Country/TerritoryAustralia
CityGold Coast
Period21/05/1824/05/18

Fingerprint

Dive into the research topics of 'Efficient snapshot isolation in paxos-replicated database systems'. Together they form a unique fingerprint.

Cite this