We've been using https://github.com/electric-sql/electric for real-time sync for the past month or so and it's been great. Rather than make you think about CRDTs explicitly, Electric syncs an in-browser sqlite db (WASM powered) with a central postgres instance. As a developer, you get local-first performance and real-time sync between users. And it's actually faster to ship an application without writing any APIs and…
Loro: Reimagine state management with CRDTs
11–20 of 45 posts
Re: Loro: Reimagine state management with CRDTs
#12I like the completeness of the Loro solution: the state, the rich text, the tree. Local-first database approach sounds like a great idea. Wondering how large is the code size overhead for using this though.
Re: Loro: Reimagine state management with CRDTs
#13I see that the libraries are written in Rust, would this work in a nodejs app as a wasm or as native plugin?
Re: Loro: Reimagine state management with CRDTs
#14We've been using https://github.com/electric-sql/electric for real-time sync for the past month or so and it's been great. Rather than make you think about CRDTs explicitly, Electric syncs an in-browser sqlite db (WASM powered) with a central postgres instance. As a developer, you get local-first performance and real-time sync between users. And it's actually faster to ship an application without writing any APIs and…
What kinds of bugs have you run into? Any large-scale corruption of data at rest?
The corruption was also caught by sqlite itself - it threw a "malformed disk image" error and stopped responding to any further queries.
Also bugs around syncing some kinds of data - one bug that's already been fixed was that floats without decimal points would not get synced. https://github.com/electric-sql/electric/issues/506
In general electric's team is very responsive and fixes bugs when we bring them up.
Re: Loro: Reimagine state management with CRDTs
#15Re: Loro: Reimagine state management with CRDTs
#16We've been using https://github.com/electric-sql/electric for real-time sync for the past month or so and it's been great. Rather than make you think about CRDTs explicitly, Electric syncs an in-browser sqlite db (WASM powered) with a central postgres instance. As a developer, you get local-first performance and real-time sync between users. And it's actually faster to ship an application without writing any APIs and…
Re: Loro: Reimagine state management with CRDTs
#17We've been using https://github.com/electric-sql/electric for real-time sync for the past month or so and it's been great. Rather than make you think about CRDTs explicitly, Electric syncs an in-browser sqlite db (WASM powered) with a central postgres instance. As a developer, you get local-first performance and real-time sync between users. And it's actually faster to ship an application without writing any APIs and…
How do you deal with shapes and permissions not being available yet?
Re: Loro: Reimagine state management with CRDTs
#18I think the roadmap says that WASM is next as a target, and that makes sense for prioritization. Would you also consider Flutter/Dart as a target, even if at the level of "we checked once that flutter_rust_bridge can call Loro"?