riteraft
corrosion
riteraft | corrosion | |
---|---|---|
3 | 5 | |
310 | 595 | |
1.0% | 2.4% | |
3.6 | 9.4 | |
3 months ago | 1 day ago | |
Rust | Rust | |
Apache License 2.0 | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
riteraft
- RiteRaft - A raft framework, for regular people
- RiteRaft, written in rust. Build a raft service with only 160 lines code
-
RiteRaft - A raft framework, for regular people, written in rust. Build a raft service with only 160 lines code.
ritedb/riteraft is a practical framework for rapid development and verification of distributed applications based on the Raft consensus algorithm.
corrosion
-
Local-first software: You own your data, in spite of the cloud (2019)
Couchdb/pouchdb remains one of the best: it's super easy to setup and is production-ready, but it's gonna be json docs with no transactions, so it can be limiting.
Y.js and automerge emerged as solutions combining CRDTs and content transfer, they look really promising. There is a Y.rs version if that's better for you.
I've always dreamt of building something on top of Syncthing, ie something that would use file synchronization. It's more versatile and will definitely last longer than anything else, and it has some built-in capabilities for having a third party helping transport but not being allowed to read content.
I recently came across https://github.com/superfly/corrosion , a service discovery and state management tool that is working completely p2p. CR-SQLite, in particular, allows multiple tables from multiple databases to be merged thanks to CRDTs. I'm sure there's a lot to build on top of it.
I feel like you're not really interested in full p2p but want some centralization point to manage some auth stuff, so I'd investigate couchdb/pouchdb first.
-
ClickHouse Keeper: A ZooKeeper alternative written in C++
Any thoughts here on Fly's Corrosion? https://github.com/superfly/corrosion
-
I'm All-In on Server-Side SQLite
We’re using cr-sqlite as part of our distributed state propagation system. It is indeed easy to bundle in the app!
https://github.com/superfly/corrosion
It would be possible to distribute cr-sqlite changes in many different ways (like you said, http or torrents, etc.) since any change can be applied out of order.
- Corrosion: Gossip-based service discovery for large distributed systems
- Corrosion: Gossip-based service discovery (& more) for large distributed systems
What are some alternatives?
little-raft - The lightest distributed consensus library. Run your own replicated state machine! ❤️
TypeCell
raft-rs - Raft distributed consensus algorithm implemented in Rust.
greptimedb - An open-source, cloud-native, distributed time-series database with PromQL/SQL/Python supported. Available on GreptimeCloud.
toydb - Distributed SQL database in Rust, written as a learning project
socket - A cross-platform runtime for Web developers to build desktop & mobile apps for any OS using any frontend library.
bastion - Highly-available Distributed Fault-tolerant Runtime
litestack
sqlite-migrate - A simple database migration system for SQLite, based on sqlite-utils
cr-sqlite - Convergent, Replicated SQLite. Multi-writer and CRDT support for SQLite
SyncedStore - SyncedStore CRDT is an easy-to-use library for building live, collaborative applications that sync automatically.
zetcd - Serve the Apache Zookeeper API but back it with an etcd cluster