graft
Graft is an open-source transactional storage engine optimized for lazy, partial, and strongly consistent replication—perfect for edge, offline-first, and distr
What is graft?
Graft is an open-source transactional storage engine optimized for lazy, partial, and strongly consistent replication—perfect for edge, offline-first, and distributed applications.
Overview of graft
What it is
Graft is an open-source transactional storage engine designed for efficient data synchronization at the edge. It supports lazy, partial replication with strong consistency, ensuring applications replicate only the data they need. Graft turns object storage into a transactional system, supporting consistent updates to subsets of data at page granularity without imposing any data format or schema.
Key features
- Lazy replication: clients sync data on demand, saving network and compute.
- Partial replication: minimize bandwidth by syncing only required data.
- Edge optimization: lightweight client designed for edge, mobile, and embedded environments.
- Strong consistency: Serializable Snapshot Isolation ensures correct, consistent data views.
- Instant read replicas: decoupled metadata and data allow replicas to spin up immediately without replay or waiting for full recovery.
- Transactional object storage: supports consistent updates to subsets of data at page granularity.
Use cases
- Offline-first and mobile applications - Cross-platform synchronization - Stateless replicas for serverless or embedded environments - Diverse data replication scenarios - Storage and replication for databases
Getting started
Graft is considered Alpha quality software. The easiest way to use Graft is via the Graft SQLite extension; see the documentation for download and usage instructions. For Rust applications, Graft can be embedded directly, with Rust docs available at https://docs.rs/graft. The README does not provide explicit install or quick-start commands; see the repository README for details.
License and pricing
Graft is licensed under either Apache License, Version 2.0 or MIT license, at your option. The project is open source; no pricing information is stated.
Based on the project's public README and repository metadata.