Logo
Grokking the Advanced System Design Interview
Ask Author
Back to course home

0% completed

Database

Let's learn how Chubby uses a database for storage.

Initially, Chubby used a replicated version of Berkeley DB to store its data. Later, the Chubby team felt that using Berkeley DB exposes Chubby to more risks, so they decided to write a simplified custom database with the following characteristics:

  • Simple key/value database using write-ahead logging and snapshotting.
  • Atomic operations only and no general transaction support.
  • Database log is distributed among replicas using Paxos.

.....

.....

.....

Like the course? Get enrolled and start learning!