Low-Overhead Paxos Replication

Jinwei Guo, Jiajia Chu, Peng Cai*, Minqi Zhou, Aoying Zhou

*Corresponding author for this work

Research output: Contribution to journalArticlepeer-review

14 Scopus citations

Abstract

Log replication is a key component in highly available database systems. In order to guarantee data consistency and reliability, it is common for modern database systems to utilize Paxos protocol, which is responsible for replicating transactional logs from one primary node to multiple backups. However, the Paxos replication needs to store and synchronize some additional metadata, such as committed log sequence number (commit point), to guarantee the consistency of the database. This increases the overhead of storage and network, which would have a negative impact on the throughput in the update intensive work load. In this paper, we present an implementation of log replication and database recovery methods, which adopts the idea of piggybacking, i.e., commit point can be embedded in the commit logs. This practice not only retains virtues of Paxos replication, but also reduces disk and network IO effectively. We implemented and evaluated our approach in a main memory database system. Our experiments show that the piggybacking method can offer 1.3× higher throughput than typical log replication with synchronization mechanism.

Original languageEnglish
Pages (from-to)169-177
Number of pages9
JournalData Science and Engineering
Volume2
Issue number2
DOIs
StatePublished - 1 Jun 2017

Keywords

  • Database recovery
  • Log replication
  • OceanBase
  • Paxos

Fingerprint

Dive into the research topics of 'Low-Overhead Paxos Replication'. Together they form a unique fingerprint.

Cite this