TurboDB: Zig-based document store with branching
DatabaseComments
We deal with this in public records systems constantly. Usually, the solution is just saving a file as Version_Final_v2 because we lack a way to actually branch the state of a live database.
Native branching could significantly simplify how we debug AI agents. Being able to revert to a specific state without restoring a full backup would be a tangible win for developer productivity.
I am skeptical of the claim that this targets both MongoDB and PostgreSQL workloads simultaneously. Those systems rely on fundamentally different consistency models and access patterns; optimizing for both usually results in a compromise that serves neither perfectly.
Why call it a compromise? This is a blatant attempt to build a universal storage layer. It is either a genius move to end the NoSQL vs SQL war or a recipe for a bloated mess.
If it uses git like branching... how does it actually handle conflict resolution when two agents modify the same document... is there a specific merge strategy for the ART index?
The pivot to branching for AI agent swarms places this in the same context as MenteDB and Curvine. It indicates that the current bottleneck for agents is not just latency, but the ability to manage divergent state iterations.
If we consider the architectural overhead, would a specialized agent memory store actually outperform a general purpose DB with a robust MVCC implementation? It might be more efficient to optimize the interface rather than building a new engine.
zig's unstable abi makes those ffi bindings a maintenance nightmare.