Introduction
Modern data systems, including blockchains like Ethereum and collaborative version control platforms, increasingly rely on immutable data. In these environments, updates do not overwrite existing records; instead, they create new versions. While this provides a robust audit trail and simplifies concurrency, it introduces significant challenges: a "storage explosion" from redundant data and the need for efficient, tamper-evident verification via cryptographic hashing.
This paper presents the first systematic analysis of indexing structures specifically designed for immutable data. By evaluating Merkle Patricia Tries (MPT), Merkle Bucket Trees (MBT), and Pattern-Oriented-Split Trees (POS-Tree) under a unified framework called SIRI, the authors identify the structural properties necessary to balance performance and storage efficiency.
The SIRI Framework
To address the inefficiencies of traditional "bolt-on" deduplication and security layers, the authors introduce the SIRI (Structurally Invariant and Reusable Indexes) framework. An effective SIRI instance must satisfy three core properties:
- Structural Invariance: The index structure must depend solely on the set of keys it contains, regardless of the insertion order.
- Recursive Identity: Large index instances should be efficiently constructible from smaller, pre-existing ones.
- Universal Reusability: Nodes must be shareable across different versions or branches of a dataset.
As shown in the figure above, traditional search trees often fail the structural invariance test. When keys are inserted in different sequences (e.g., +5 then +9 vs. +9 then +5), the resulting tree shapes differ. This prevents effective deduplication because identical datasets would result in different index nodes, making cross-version sharing impossible.
Evaluated Indexing Structures
The study evaluates three primary representatives of the SIRI framework:
- Merkle Patricia Trie (MPT): A radix tree variant used in Ethereum. Its structure is strictly defined by key bytes, ensuring high deduplication potential but often resulting in deep, sparse trees for long keys.
- Merkle Bucket Tree (MBT): A Merkle tree built atop a hash table. While fast for small datasets, its performance degrades as buckets grow and require expensive re-hashing.
- Pattern-Oriented-Split Tree (POS-Tree): A probabilistically balanced tree that uses content-defined chunking (similar to
git) to determine node boundaries. This allows it to maintain structural invariance while behaving like a balanced B+ tree.
Key Results and Performance
The authors tested these structures using synthetic (YCSB) and real-world (Wikipedia, Ethereum) datasets. The results highlight the critical role of deduplication in managing immutable data.
As illustrated in the chart above, deduplication significantly reduces both storage usage and processing time as the number of versions increases. Without deduplication ("Raw"), storage requirements grow linearly and steeply. In contrast, deduplicated storage remains relatively flat, demonstrating the power of structural invariance in practical applications.
The POS-Tree emerged as the overall winner. It demonstrated throughput 1.04x to 1.9x faster than traditional multi-version Merkle B+ trees and maintained high deduplication ratios (up to 0.88). While MPT offers excellent deduplication for short keys, its performance and storage efficiency collapse when faced with the long, variable-length keys found in the Wikipedia dataset.
Conclusion
The analysis concludes that the POS-Tree offers the most robust balance for modern immutable applications. By integrating structural invariance directly into the index design, systems can achieve massive storage savings without sacrificing lookup or update performance. Future work will focus on extending these structures to handle high-concurrency distributed environments and more complex "branch and merge" data evolution patterns.
Summary updated