ShadowDB: a replicated database on a synthesized consensus core

  • Authors:
  • Nicolas Schiper;Vincent Rahli;Robbert Van Renesse;Mark Bickford;Robert L. Constable

  • Affiliations:
  • Cornell University;Cornell University;Cornell University;Cornell University;Cornell University

  • Venue:
  • HotDep'12 Proceedings of the Eighth USENIX conference on Hot Topics in System Dependability
  • Year:
  • 2012

Quantified Score

Hi-index 0.00

Visualization

Abstract

This paper describes ShadowDB, a replicated version of the BerkeleyDB database. ShadowDB is a primary-backup based replication protocol where failure handling, the critical part of the protocol, is taken care of by a synthesized consensus service that is correct by construction. The service has been proven correct semiautomatically by the Nuprl proof assistant. We describe the design and process to prove the consensus protocol correct and present the database replication protocol. The performance of ShadowDB is good in the normal case and recovering from a failure only takes seconds. Our approach offers simplified means to diversify the code in a way that preserves correctness.