Testing Raft-Replicated Database Systems

Guohao Ding, Weining Qian, Peng Cai, Tianze Pang, Qiong Zhao

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

Abstract

The replication technique based on Raft protocol is essential in modern distributed and highly-available database systems. Although Raft is a protocol easy to understand and implement, testing a Raft-replicated database system is still a challenging task due to multiple sources of nondeterminism. Conventional testing techniques, such as unit, integration and stress testing, are ineffective in preventing serious but subtle bugs from reaching production. This paper first introduces evaluation metrics after the abstraction of general Raft-replicated database systems. These metrics are defined from several aspects including correctness, performance, and scalability. Then, we present test dimensions for the design of test cases, which contain various fault types, different workloads and system configurations. Finally, we describe test results of Raft-replicated open source database system.

Original languageEnglish
Title of host publicationBenchmarking, Measuring, and Optimizing 1st BenchCouncil International Symposium, 2018 Revised Selected Papers
EditorsChen Zheng, Jianfeng Zhan
PublisherSpringer
Pages131-144
Number of pages14
ISBN (Print)9783030328122
DOIs
StatePublished - 2019
Event1st International Symposium on Benchmarking, Measuring, and Optimization, Bench 2018 - Seattle, United States
Duration: 10 Dec 201813 Dec 2018

Publication series

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

Conference

Conference1st International Symposium on Benchmarking, Measuring, and Optimization, Bench 2018
Country/TerritoryUnited States
CitySeattle
Period10/12/1813/12/18

Keywords

  • Distributed database
  • Raft
  • Test

Fingerprint

Dive into the research topics of 'Testing Raft-Replicated Database Systems'. Together they form a unique fingerprint.

Cite this