Quantcast
Channel: Hacker News
Viewing all articles
Browse latest Browse all 10943

Your ATM doesn’t use transactions - Ayende @ Rahien

$
0
0

Comments:" Your ATM doesn’t use transactions - Ayende @ Rahien"

URL:http://ayende.com/blog/155969/your-atm-doesnrsquo-t-use-transactions


I just got a series of SMSes from my back, saying that someone just made several withdrawals from my account. As I am currently sitting and watching TV, I was a bit concerned.

It appears that my wife withdrew some money, but there was an issue with one ATM machine, so she used another one.

The problem, I got 3 SMS messages, saying that the follow activities happened on my account:

  • ATM withdrawal for 2,000 NIS
  • ATM withdrawal for 2,000 NIS
  • ATM withdrawal for 2,900 NIS

Checking with my wife, she had actually withdrawn only 2,900.

I was a bit concerned, so I logged into the bank and got this:

In English, this is:

Date Description Auth Code Debit Credit10 Apr ATM withdrawal 00003581 2,000  10 Apr ATM withdrawal 00003581   2,00010 Apr ATM withdrawal 00003581 2,900  

This is actually interesting, because the way my wife described it, she wen to the ATM, punch the right codes, and went through the motions of everything. Then, just before it was about to give her the money, it failed.

What is really interesting? From my point of view, is that I can actually see this in my bank account. We didn’t have a transaction rollback because of failure to dispense the money. That isn’t how ATM works. We actually had a compensating action (that occurred as separate transaction) to show that the ATM refunded the money it wasn’t able to give.

So next time someone tries to quote you “banks use transactions”, you can tell them that the bank definition of what a transaction is would make any decent DTC cry with shame.


Viewing all articles
Browse latest Browse all 10943

Trending Articles