Writing a Postgres logical replication system in Golang
dolthub.com
dolthub.com
[0] - https://validator.w3.org/feed/check.cgi?url=https%3A%2F%2Fww...
Isn't that what others like Supabase are already offering or am I missing a distinction here?
To have the same state on two branches you would need to run the same queries that you ran on the other branch.
Exactly. Teams that are mature enough to use data branching in development likely already have a schema migration tool that handles the merge safely with all the necessary controls.
Our customers are building workflows that are just impossible to achieve with other databases. There are a few common use cases that come up over and over:
* Game development, to version control game configuration data being edited by an entire team of developers at once * CMS-like tools, including online storefronts, so you can have pull request workflows and easy rollback * Collaborative data sourcing, where multiple independent sources get merged together into a single database
There's also the distributed use case, where people fork and clone each other's data sets, that we haven't really seen take off yet. Or maybe those people are just unlikely to buy hosting services or file support tickets.
To do that, you need a storage system that can efficiently compute a diff to do a three-way merge. That's what dolt does. It means you can diff any two commits in the database with cost proportional to the size of the diff, not the size of the data. And it uses a commit graph just like git which enables it to find common ancestors for a three-way merge algorithm, again just like git.
News from the future? Who cares about causality?