Abstract
Spitz is a clean-slate verifiable database (VDB) designed to provide the data integrity of a blockchain with the performance of a traditional database. By integrating cryptographic proofs directly into the storage and indexing layers, Spitz achieves up to 7x higher throughput for verifiable queries compared to traditional "bolt-on" ledger approaches. This paper presents the architecture of Spitz, highlighting its unified indexing and specialized storage engine, ForkBase, which manages multi-versioned data efficiently.
Introduction
In modern decentralized business environments, multiple distrustful parties often need to share a single database. Traditional databases rely on a central authority, making them vulnerable to tampering by an administrator. While blockchains offer a solution through immutability and transparency, they are notoriously slow and struggle with complex analytical queries.
To bridge this gap, we need Verifiable Databases (VDBs) that guarantee data immutability, tamper evidence, and query verifiability. The core challenge is the "verification tax"—the massive performance overhead usually required to generate and check cryptographic integrity proofs. Spitz addresses this by moving away from "non-intrusive" designs that simply attach a ledger to an existing database, opting instead for a clean-slate architecture.
Methods and Architecture
Spitz is built from the ground up to integrate the ledger into its core. The system follows a two-layer design: a Control Layer for request processing and auditing, and a Storage Layer for physical data management.
Key architectural components include:
- ForkBase Storage Engine: A specialized storage layer that supports Git-like version control and uses content-based deduplication to manage the storage growth inherent in immutable systems.
- Unified Indexing (SIRI): Spitz employs the "Structurally Invariant and Reusable Indexes" (SIRI) family. This allows the system to store data and its corresponding cryptographic proofs (Merkle-style hashes) in the same structure. By making the index itself verifiable, the act of searching for data simultaneously generates the proof of its integrity, eliminating redundant lookups.
- Cell Store: A multi-versioned store that manages the physical layout of data records.
Performance Evaluation
The authors evaluated Spitz using synthetic workloads ranging from 10,000 to 1,280,000 records. The primary comparison was against a "non-intrusive" baseline that adds a ledger to a standard storage engine.
Key Results: * Read Performance: For verifiable read operations, Spitz is 7x faster than the non-intrusive baseline. * Write Performance: Spitz achieves 3x higher throughput for write operations. * Range Queries: In analytical scenarios, Spitz outperforms the baseline by up to two orders of magnitude when verification is enabled, as it avoids separate searches of the ledger and the index. * Storage Efficiency: ForkBase's deduplication significantly flattens the storage growth curve as the number of data versions increases, compared to standard storage engines.
Conclusion and Future Work
Spitz demonstrates that a "clean-slate" (intrusive) design is necessary for high-performance verifiable applications. By unifying indexing and verification, the system drastically reduces the performance penalty associated with data integrity.
Future work will focus on supporting more complex SQL semantics, such as joins, and exploring the use of "learned indexes" to further optimize Merkle tree traversals. Additionally, the authors plan to investigate more sophisticated concurrency control mechanisms to alleviate potential bottlenecks in high-contention distributed scenarios.
Summary updated