TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: Do banks use OLTP or event sourcing to process money transactions?

2 pointsby itaifrenkelover 8 years ago
We were having a "lunch" discussion if banks still take every transaction and write it to an OLTP database, or do they use event sourcing. The fact that ATMs need to provide money when disconnected, or the fact that transaction takes 24h to approve suggest it might not be a direct OLTP transaction. Anyone implemented a bank system care to shed some light on the matter ?

2 comments

mattkreaover 8 years ago
&gt; The fact that ATMs need to provide money when disconnected<p>Is this a fact though? We provide ATM rentals&#x2F;leases for our customers (though few ask for it these days) and I&#x27;m pretty sure they do not function if they are disconnected.<p>As far as I am aware a failure to connect to the issuing bank for a card will cause your card to be declined so that would lead me to believe their mainframes (and yes they are actually IBM mainframes in the cases I&#x27;ve experienced) must be online and connected.<p>Regarding the 24-48hr approval process.. that is more because of batches. And you&#x27;re dealing with a responsible merchant (or host-capture environment) if you get those timeframes.<p>A merchant can wait for days to batch their credit cards in which case you&#x27;re waiting as well.
评论 #12487404 未加载
ereli1over 8 years ago
most banks don&#x27;t talk about this stuff, either since their tech is outdated or because they don&#x27;t think customers are interested in improvements in this field. the new banks in the UK <a href="https:&#x2F;&#x2F;monzo.com&#x2F;blog&#x2F;" rel="nofollow">https:&#x2F;&#x2F;monzo.com&#x2F;blog&#x2F;</a> <a href="https:&#x2F;&#x2F;www.atombank.co.uk&#x2F;blog" rel="nofollow">https:&#x2F;&#x2F;www.atombank.co.uk&#x2F;blog</a> <a href="https:&#x2F;&#x2F;www.starlingbank.com&#x2F;blog&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.starlingbank.com&#x2F;blog&#x2F;</a> don&#x27;t blog about their stack as much as you&#x27;d hope - but they do everything online.