Hacker News new | ask | show | jobs
by justinclift 618 days ago
That approach sounds like pessimistic locking: https://en.wikipedia.org/wiki/Lock_(computer_science)#Databa...

Optimistic locking might work better, as long as the underlying data can be automatically diffed and merged reliably well.

Git generally does well using this approach, though it's pretty easy to diff text.