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: How are account balances updated in a real bank?

10 pointsby kul_over 1 year ago
To folks who worked with financial organisations, I wonder how accurate the Account Balance updated examples are with respect to transaction isolation and concurrent updates? Or do banks just updates ledger and balances in a literally serialized manner with one thead avoiding any complexity altogether?

6 comments

b20000over 1 year ago
it all just lives in a bunch of csv files on a few people’s PCs and every night a 62 year old man copy pastes it together and checks everything and then uploads it to some old mainframe. he is the only one who knows how to do that job.
评论 #39370074 未加载
sloakenover 1 year ago
I remember one bank used to, and it was big news, process all deductions from accounts, then issue overdrawn penalties, then any deposits. So if you had $500 in your account, then deposited $500 in cash, then withdrew $501, you would be overdrawn and assessed a penalty. Oh and it was a very major bank (in the US).
twundeover 1 year ago
If you&#x27;re interested in this topic, you may want to read through some of the Bits about Money essays&#x2F;newsletters: <a href="https:&#x2F;&#x2F;www.bitsaboutmoney.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.bitsaboutmoney.com&#x2F;</a>
throwaway828over 1 year ago
Look into Flexcube docs to more fully answer your questions. It&#x27;s a reasonably well established core banking product, or series of products.
gitgudover 1 year ago
It’s all an immutable ledger, where the “account balance” is just a sum of all transactions on the account…<p><i>disclaimer: I don’t work in finance at all</i>
stop50over 1 year ago
In the past it was mostly the second, but now its the first.