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

“We can commit data at two different locations — say the West Coast [of the United States] and Europe — and still have some agreed upon ordering between them,”

I'm a bit confused by this. How will this solve the situation when the first transaction renders a second transaction forbidden. To keep it simple, say an account with only $10 and two transactions trying to withdraw $10 each.



It's been a while since I last read the paper, but I think the second transaction would fail (optimistic locking) and must be re-tried (and as such would see the updated balance).




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

Search: