How does the banking transactions work “under the hood” - possibly in detail

偶尔善良 提交于 2019-12-03 16:58:22

问题


I'm wondering how does the banking transactions work. It is very hard to find some at least acceptable explanation. I dont mean some basic distributed transaction algorithms for not that serious businesses.

So what kind of measures must bank take to keep consistency, to never loose not a single penny.

What about internacional transactions, transactions between banks.

Data consistency across the whole world - not to withdraw all the money in NY and then repeat in Tokio once again..

And any epic failures documented throughout recent history?

I will be very gratefull for all the answers.


回答1:


International inter-bank transactions are usually done using the Swift network, which started operations in 1977 (was founded in 1973). Before that ... it was Telex.

Swift traffic peaks of 16M high security messages per day.

Access to most Swift documentation is provided only to partners and banks, but perhaps the Wikipedia page, and some other info you can collect from the Internet may satisfy your curiosity.




回答2:


Interbank transactions are not distributed in the technical meaning of this word. They do not require simulation of single state across internationally distributed resources. In particular there is no atomic transfer from one bank to another. What they do instead is several asynchronous steps that can be repeated or even reverted after any failure.

For example debiting money from the ordering party account is only coupled with generating the interbank message(*), but does not require that the message is immediately delivered. The money is credited to a correspondent account and the messaging system only guarantees that the message is stored and will be delivered some time in the future.

Even if the message is lost (which does not happen), the above procedure can be reverted or the message can be sent again.

(*) Usually some intermediate steps are involved.



来源:https://stackoverflow.com/questions/4512547/how-does-the-banking-transactions-work-under-the-hood-possibly-in-detail

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!