CobbleDB: Modelling Levelled Storage by Composition
Emilie Ma (UBC), Ayush Pandey (TSP), Annette Bieniusa (RPTU), Marc Shapiro (DELYS)

TL;DR
CobbleDB introduces a composition-based method for building correct-by-construction database storage systems, demonstrated through a Java implementation of levelled storage inspired by RocksDB.
Contribution
It presents a novel composition approach for correct database store development, simplifying implementation and enabling performance feature integration.
Findings
Successfully derived a Java implementation from specifications.
Demonstrated practical value with CobbleDB, a RocksDB reimplementation.
Leveraged store equivalence to compose performance features.
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.
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
