News for hackers. Stuff that matters.
Re:Automerge: A JSON-like data structure (a CRDT) that can b... by aenario on Monday February 21, 2022 @07:40AM (#30415231)
It's a very narrow use-case of conflict-free data type. Sure if you are willing to wait for however long to get a lock before you can edit something.

The main goal of CRDT is for long-split branch such as can happen in federated systems or with offline management. (think git)

Re:Automerge: A JSON-like data structure (a CRDT) that can b... by noduerme on Monday February 21, 2022 @07:48AM (#30415302)
Bad design. Would you ever put something into production that couldn't tell if two people were trying to write the same object at the same time and roll one back?
Re:Automerge: A JSON-like data structure (a CRDT) that can b... by aenario on Monday February 21, 2022 @08:49AM (#30415816)
You seem to only conceive of the web as "html+JS frontend communicating in real time to some server"

We have decades of distributed systems without a central server. Such as git, bit-torrent, Mastodon, Matrix, and the whole web3 mess. It's for these use-case that CRDT helps solve real problems.

Re:Automerge: A JSON-like data structure (a CRDT) that can b... by lijogdfljk on Monday February 21, 2022 @10:36AM (#30416989)
Why would you ever put a hyper focused distributed system in a centralized architecture?

You're choosing a sledge hammer for a screw.

This is a database that can work when you're offline. Your central server has nothing to do with this and is entirely incapable of even working.