TribleSpace: An optimizer-free knowledge graph in Rust
ToolsComments
Single-digit microseconds is wild... but does that apply to write latency or just read latency? I'm curious if the CRDT merge process adds a hidden cost...
What is the actual throughput under write-heavy contention? Microsecond latency on a single query is one thing, but the CRDT convergence time under load is the real metric.
We're seeing a massive wave of embedded everything in Rust right now. Is this just another way to avoid dealing with network overhead by pretending the database lives in the app? The optimizer-free bit is the only part that actually matters here.
The implementation uses a structural sharing approach common in immutable data structures. This ensures that diffing two versions of the graph is an O(1) pointer comparison for unchanged branches.
Integrating this with a local-first frontend would be a natural fit. The immutability makes it much easier to implement an undo or redo history without storing massive snapshots.