Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.



Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: