Decision Workspace
kotva-sync vs kotva-sync-wasm vs spacedb-replica
Side-by-side comparison of Rust crates
KOTVA substrate capability ③ — Sync (substrate/SYNC.md): the signed, deterministic, MULTI-AUTHOR CRDT operation algebra (OR-Set, HLC-LWW register, remove-wins death certificate, PN-counter, RGA sequence, cycle-safe movable tree), per-op RFC 9052 COSE_Sign1 authenticity, canonical observable-state snapshot roots, and range-Merkle reconciliation fingerprints
The browser/JS binding for the KOTVA Sync substrate (substrate/SYNC.md, substrate/BINDINGS.md §3): a wasm-bindgen wrapper exposing kotva-sync's signed CRDT operation algebra, HLC, observable-state snapshots, version vectors and range-Merkle reconciliation to JavaScript — the SAME compiled core, never a re-implementation. No private key crosses the boundary: op and snapshot signing are detached (preimage out, signature in).
SpaceDB Layer 2 (hot path) — live convergence between replicas: the anti-entropy sync protocol over a Transport seam, with an in-process transport (and partition switch) for testing. MATA implements the transport over iroh+relay; a self-hoster can implement it over iroh directly. Phase 1 SpaceDB Mission, M3.
Core Metrics
| kotva-sync | kotva-sync-wasm | spacedb-replica | |
|---|---|---|---|
| Health Score | 45 | 44 | 58 |
| Total Downloads | 319 | 20 | 431 |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 1 | 0 | 10 |
| Releases | 1 | 1 | 6 |
| Last Updated | 73d ago | 73d ago | 41d ago |
| Age | 2m | 2m | 3m |
Health Breakdown
Technical Details
| kotva-sync | kotva-sync-wasm | spacedb-replica | |
|---|---|---|---|
| Version | 0.1.0 | 0.1.0 | 0.6.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT | MIT | MIT OR Apache-2.0 |
| Dependencies | 1 | 6 | 2 |
| Crate Size | 76KB | 91KB | 17KB |
| Features | 0 | 3 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2021 | 2021 |
| MSRV | 1.75 | 1.75 | 1.95 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •spacedb-replica leads with a health score of 58/100, but none of the options score above 80.