Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
speed_spread
on July 9, 2024
|
parent
|
context
|
favorite
| on:
The Deadlock Empire: An Interactive Guide to Locks
It's missing my favourite optimistic lock, the Delusional Lock.
lock_enthusiast
on July 9, 2024
|
next
[–]
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.
SeriousM
on July 9, 2024
|
parent
|
next
[–]
That just sounds like the "read uncommitted" transaction level. Works as long as you know what to do :)
whaleofatw2022
on July 10, 2024
|
root
|
parent
|
next
[–]
IIRC some IBM DBs have a level called 'chaos', it may be read uncommitted but with other side effects...
sitkack
on July 9, 2024
|
root
|
parent
|
prev
|
next
[–]
Is that like accidentally pure functions?
speed_spread
on July 9, 2024
|
parent
|
prev
|
next
[–]
"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"
dekibre
on July 9, 2024
|
prev
[–]
You can submit a feedback!
https://docs.google.com/forms/d/e/1FAIpQLSf7XQBKbpjtOqzFi0jB...
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: