[Paper Review] UStore: A Distributed Storage With Rich Semantics
UStore is a distributed storage system with rich semantics that natively supports data immutability, sharing, and security—unifying core properties of modern applications. It uses a Git-like, content-addressable data structure (UObject) to enable efficient versioned operations, outperforming general key-value stores and specialized systems like Ethereum in version scan and retrieval workloads.
Today's storage systems expose abstractions which are either too low-level (e.g., key-value store, raw-block store) that they require developers to re-invent the wheels, or too high-level (e.g., relational databases, Git) that they lack generality to support many classes of applications. In this work, we propose and implement a general distributed data storage system, called UStore, which has rich semantics. UStore delivers three key properties, namely immutability, sharing and security, which unify and add values to many classes of today's applications, and which also open the door for new applications. By keeping the core properties within the storage, UStore helps reduce application development efforts while offering high performance at hand. The storage embraces current hardware trends as key enablers. It is built around a data-structure similar to that of Git, a popular source code versioning system, but it also synthesizes many designs from distributed systems and databases. Our current implementation of UStore has better performance than general in-memory key-value storage systems, especially for version scan operations. We port and evaluate four applications on top of UStore: a Git-like application, a collaborative data science application, a transaction management application, and a blockchain application. We demonstrate that UStore enables faster development and the UStore-backed applications can have better performance than the existing implementations.
Motivation & Objective
- Address the gap in existing storage systems that either lack rich semantics (e.g., key-value stores) or are too rigid (e.g., relational databases).
- Unify three critical properties—immutability, data sharing, and security—within a single storage layer to reduce application development complexity.
- Design a system that is both efficient and extensible, supporting performance tuning and integration with diverse hardware and workloads.
- Enable faster development and better performance for collaborative, versioned, and secure applications by offloading core semantics to the storage layer.
Proposed method
- Design a novel data structure called UObject, a content-addressed, immutable object with versioned pointers, inspired by Git but extended for distributed systems.
- Implement a distributed, scalable storage layer that supports efficient version scans, point-in-time queries, and secure access via access control policies.
- Leverage modern hardware trends, including in-memory performance and trusted execution environments (e.g., Intel SGX), to optimize performance and security.
- Expose core APIs such as GetKPreviousVersion/Value and versioned Put/Get to enable efficient versioned data access and reduce application-level complexity.
- Build a view layer abstraction to support higher-level data models (e.g., Git, collaborative analytics) on top of the core UObject layer.
- Integrate with existing systems via modular components, including query engines and authentication modules, to support diverse workloads.
Experimental results
Research questions
- RQ1Can a unified storage system natively support immutability, sharing, and security to reduce application development effort across diverse workloads?
- RQ2How does a Git-inspired, content-addressed data model perform under real-world workloads compared to general-purpose key-value stores and blockchains?
- RQ3To what extent can rich semantics in storage improve performance for versioned data operations such as version scans and point-in-time queries?
- RQ4Can the system scale efficiently in distributed environments while maintaining strong consistency and security guarantees?
- RQ5How can access control and data provenance be efficiently modeled and enforced in a highly versioned, distributed storage system?
Key findings
- UStore outperforms general in-memory key-value stores in version scan operations, demonstrating superior efficiency for versioned data access.
- For the blockchain use case, UStore reduces overhead in retrieving previous account states by directly accessing prior versions via GetKPreviousVersion/Value, avoiding redundant block parsing.
- UStore’s performance advantage is most pronounced in workloads requiring frequent versioned queries, such as collaborative analytics and transaction management.
- The system achieves better performance than Ethereum in versioned data retrieval due to direct versioned access, while Ethereum incurs higher I/O due to block-by-block parsing.
- UStore enables faster application development by providing rich semantics (immutability, sharing, security) out of the box, reducing the need for custom data structures and coordination logic.
- The current implementation shows strong scalability and low latency, with performance benefits especially evident in workloads involving versioned data access and provenance tracking.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.