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

you should generally use some concurrency control approach like optimistic or pesimistic locking (UPDATE state = new WHERE state = old/SELECT FOR UPDATE - but the latter isn't a good idea for UI).


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

Search: