orbitinghail/graft
关于
Graft 是一个开源事务型存储引擎,针对延迟、部分且强一致的复制进行了优化,非常适合边缘、离线优先和分布式应用。
系统与基础设施实测星标增长
- 24小时
- +2
- 7天
- +4
- 15天
- +11
- 1个月
- +22
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文Graft
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.
Core Benefits:
- 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.
- Transactional Object Storage: 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.
- Instant Read Replicas: Decoupled metadata and data allow replicas to spin up immediately—no replay, no waiting for full recovery.
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
Learn more:
Using Graft
Graft should be considered Alpha quality software. Thus, please contact @carlsverre before using it in production. The easiest way to contact @carlsverre is via Discord on the orbitinghail server.
SQLite extension
The easiest way to use Graft is via the Graft SQLite extension. Please see the documentation for instructions on how to download and use it with SQLite.
Rust Crate
Graft can be embedded in your Rust application directly, although for now that is left as an exercise for the reader. You can find the Rust docs here: https://docs.rs/graft
Other languages?
You can use the Graft SQLite extension from any language that has a native SQLite library. Please see the documentation for details.
If you'd like to access the Graft low-level Volume API from a language other than Rust, please file an issue!
Technical Overview
For an overview of how Graft works, visit https://graft.rs/docs/internals.
Contributing
Thank you for your interest in contributing your time and expertise to the project. Please read our contribution guide to learn more about the process.
License
Licensed under either of
- Apache License, Version 2.0 (LICENSE-APACHE or https://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or https://opensource.org/licenses/MIT)
at your option.
探索相关项目
加载中…