English

CobbleDB: Modelling Levelled Storage by Composition

Databases 2026-04-10 v2 Programming Languages Software Engineering

Abstract

We present a composition-based approach to building correctby-construction database backing stores. In previous work, we specified the behaviour of several store variants and proved their correctness and equivalence. Here, we derive a Java implementation: the simplicity of the specification makes manual construction straightforward. We leverage spec-guaranteed store equivalence to compose performance features, then demonstrate practical value with CobbleDB, a reimplementation of RocksDB's levelled storage.

Cite

@article{arxiv.2604.06273,
  title  = {CobbleDB: Modelling Levelled Storage by Composition},
  author = {Emilie Ma and Ayush Pandey and Annette Bieniusa and Marc Shapiro},
  journal= {arXiv preprint arXiv:2604.06273},
  year   = {2026}
}
R2 v1 2026-07-01T11:58:03.253Z