mycelite VS sqlite-y-crdt

Compare mycelite vs sqlite-y-crdt and see what are their differences.

mycelite

Mycelite is a SQLite extension that allows you to synchronize changes from one instance of SQLite to another. (by mycelial)
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
mycelite sqlite-y-crdt
8 1
1,045 10
1.7% -
5.8 4.5
8 months ago 4 months ago
Rust Rust
Apache License 2.0 MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.

mycelite

Posts with mentions or reviews of mycelite. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-07-05.

sqlite-y-crdt

Posts with mentions or reviews of sqlite-y-crdt. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-07-05.
  • LiteFS Cloud: Distributed SQLite with Managed Backups
    9 projects | news.ycombinator.com | 5 Jul 2023
    Great that you brought it up. I will fill in the perspective of what I am doing for solving this in Marmot (https://github.com/maxpert/marmot). Today Marmot already records changes via installing triggers to record changes of a table, hence all the offline changes (while Marmot is not running) are never lost. Today when Marmot comes up after a long offline (depending upon max_log_size configuration), it realizes that and tries to catch up changes via restoring a snapshot and then applying rest of logs from NATS (JetStream) change logs. I am working on change that will be publishing those change logs to NATS before it restores snapshots, and once it reapplies those changes after restoring snapshot everyone will have your changes + your DB will be up to date. Now in this case one of the things that bothers people is the fact that if two nodes coming up with conflicting rows the last writer wins.

    For that I am also exploring on SQLite-Y-CRDT (https://github.com/maxpert/sqlite-y-crdt) which can help me treat each row as document, and then try to merge them. I personally think CRDT gets harder to reason sometimes, and might not be explainable to an entry level developers. Usually when something is hard to reason and explain, I prefer sticking to simplicity. People IMO will be much more comfortable knowing they can't use auto incrementing IDs for particular tables (because two independent nodes can increment counter to same values) vs here is a magical way to merge that will mess up your data.

What are some alternatives?

When comparing mycelite and sqlite-y-crdt you can also consider the following projects:

electric - Local-first sync layer for web and mobile apps. Build reactive, realtime, local-first apps directly on Postgres.

sqld - LibSQL with extended capabilities like HTTP protocol, replication, and more.

donutdb - Store and query a sqlite db directly backed by DynamoDB.

Pentive - Collaborative Spaced Repetition

litestack

cr-sqlite - Convergent, Replicated SQLite. Multi-writer and CRDT support for SQLite

marmot - A distributed SQLite replicator built on top of NATS

wa-sqlite - WebAssembly SQLite with experimental support for browser storage extensions

go-sqlite3-stdlib - A standard library for mattn/go-sqlite3 including best-effort date parsing, url parsing, math/string functions, and stats aggregation functions

doteur - Tool to automate the visualisation of SQL schemas from a SQL file