Data Management

ShadowDB: A Replicated Database on a Synthesized Consensus Core

Free registration required

Executive Summary

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 semi-automatically by the Nuprl proof assistant. The authors 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. Their approach offers simplified means to diversify the code in a way that preserves correctness.

  • Format: PDF
  • Size: 255.42 KB