News for hackers. Stuff that matters.
Re:The Deadlock Empire: An Interactive Guide to Locks by speed_spread on Monday July 08, 2024 @11:45PM (#40912366)
It's missing my favourite optimistic lock, the Delusional Lock.
Re:The Deadlock Empire: An Interactive Guide to Locks by dekibre on Tuesday July 09, 2024 @01:48AM (#40912868)
Re:The Deadlock Empire: An Interactive Guide to Locks by lock_enthusiast on Tuesday July 09, 2024 @02:03AM (#40912929)
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.
Re:The Deadlock Empire: An Interactive Guide to Locks by SeriousM on Tuesday July 09, 2024 @02:49AM (#40913168)
That just sounds like the "read uncommitted" transaction level. Works as long as you know what to do :)
Re:The Deadlock Empire: An Interactive Guide to Locks by sitkack on Tuesday July 09, 2024 @03:22AM (#40913386)
Is that like accidentally pure functions?
Re:The Deadlock Empire: An Interactive Guide to Locks by whaleofatw2022 on Tuesday July 09, 2024 @10:44PM (#40923276)
IIRC some IBM DBs have a level called 'chaos', it may be read uncommitted but with other side effects...
Re:The Deadlock Empire: An Interactive Guide to Locks by speed_spread on Tuesday July 09, 2024 @11:05AM (#40916967)
"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"