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

It's missing my favourite optimistic lock, the Delusional Lock.


I'm assuming it's the "I'm sure it'll be fine to read/write this unsynchronized, what's the worst that could happen?" locking strategy.


That just sounds like the "read uncommitted" transaction level. Works as long as you know what to do :)


IIRC some IBM DBs have a level called 'chaos', it may be read uncommitted but with other side effects...


Is that like accidentally pure functions?


"what's the worst that could happen?" implies some forethought. Delusional Locking just goes "It's gonna be fine! LALALALALA I CaN'T HeAr YoU"





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

Search: