News for hackers. Stuff that matters.
Re:FedNow Is Live by dheera on Thursday July 20, 2023 @03:34PM (#36805605)
Does this end the T + 2day ridiculousness? It should be T + 1millisecond at worst. What does it take to update 2 "balance" values in databases?
Re:FedNow Is Live by ceejayoz on Thursday July 20, 2023 @03:43PM (#36805709)
> What does it take to update 2 "balance" values in databases?

Quite a bit more than you seem to think.

https://engineering.gusto.com/how-ach-works-a-developer-pers...

Re:FedNow Is Live by abbusfoflouotne on Thursday July 20, 2023 @04:40PM (#36806440)
This was super helpful, I have always wondered how this all worked
Re:FedNow Is Live by HoyaSaxa on Thursday July 20, 2023 @03:44PM (#36805729)
TLDR: Nearly all payments will irrefutably settle within a handful of seconds

Strictly speaking the primary means in which money moves in the United States from a volume perspective is ACH today. That system is a T+1 day from a default perspective, but it has offered the option to same-day settle during a handful of batches throughout a business day. However, ACH is not irrefutable and so it is common to have holds associated with this movement of money.

FedNow is truly 24/7/365 and push only.

All payment flows are subject to an end-to-end payment timeout clock of 20 seconds, starting from the creation timestamp to the point at which the recipient FI (almost always really a Service Provider on their behalf) sends a formal response that they intend to accept or reject the message.

An accepted payment must then be posted to the receiving account "as soon as practicable, but no longer than a few seconds” unless there are compliance/fraud concerns.

In practice, it should rarely take 23 seconds and will likely take 1-5 seconds from an end-to-end perspective depending on the processing speed of the originator, receiver and FedNow Service itself.

Re:FedNow Is Live by 88913527 on Thursday July 20, 2023 @05:10PM (#36806798)
Couldn't having payments settle so quickly result in increased risk of overall system instability? I don't have a specific example, but I'm thinking of things like bank run panics. I'm sure this sort of thing would have been considered, however.
Re:FedNow Is Live by HoyaSaxa on Thursday July 20, 2023 @05:19PM (#36806889)
Yes, it absolutely does increase the overall system instability. However, that is at great benefit to the consumer. There are some safeguards in place in the actual FedNow Service, but it is primarily up to the Service Providers to give the financial institutions tools to manage risk. This includes features like liquidity management, circuit breakers, fraud/compliance monitoring, limits, etc.
Re:FedNow Is Live by Narkov on Thursday July 20, 2023 @06:53PM (#36807870)
You must remember, the US is very late to the "instant" payment party. This isn't a groundbreaking development.
Re:FedNow Is Live by supertrope on Thursday July 20, 2023 @07:08PM (#36808012)
Faster settlement can also have stabilizing effects. With less money in transit there's less counter-party risk. Annoying rules like having to wait 10 bank days to spend money from a larger check you deposited can go away. The whole point of a checking account is liquidity.
Re:FedNow Is Live by jowea on Thursday July 20, 2023 @07:13PM (#36808064)
Good question. Did that happen in any other country with faster payments? And SVB collapsed fast before this.
Re:FedNow Is Live by rodgerd on Thursday July 20, 2023 @07:25PM (#36808168)
Singapore has had extremely aggressive settlement (and availability!) requirements for a while now, and doesn't seem to have collapsed.
Re:FedNow Is Live by astrange on Thursday July 20, 2023 @08:58PM (#36808809)
Part of the reason SVB collapsed is they couldn't get paid by government insurance fast enough IIRC.
Re:FedNow Is Live by delfinom on Friday July 21, 2023 @10:47AM (#36814438)
SVB largely did not qualify for any government protections beyond the FDIC limits. The bailout we gave them was shameful.
Re:FedNow Is Live by jowea on Friday July 21, 2023 @01:46PM (#36816991)
I'm not sure if that's what the previous poster was referring to, but before SVB officially collapsed it tried to get an emergency loan but failed because the system for such emergency loans is slower than the systems its clients could use to transfer money out.

> And yet! Man! What the heck! A lot has been written about how SVB was a bank run for a speedier, modern age. Instead of hearing a rumor at the coffee shop and running down to the bank branch to wait on line to withdraw your money, now you can hear a rumor on Twitter or the group chat and use an app to withdraw money instantly. A tech-friendly bank with a highly digitally connected set of depositors can lose 25% of its deposits in hours, which did not seem conceivable in previous eras of bank runs. But the other part of the problem is that, while depositors can panic faster and banks can give them their money faster, the lender-of-last-resort system on which all of this relies is still stuck in a slower, more leisurely era. “When the user interface improves faster than the core system, it means customers can act faster than the bank can react,” wrote Byrne Hobart. You can panic in an instant and withdraw your money with an app, but the bank can’t get more money without a series of phone calls and test trades that can only happen during regular business hours. And so sometimes a bank that theoretically has a lot of liquidity can just run out of cash.

https://www.bloomberg.com/opinion/articles/2023-03-22/silico...

Re:FedNow Is Live by astrange on Friday July 21, 2023 @03:16PM (#36818224)
There are no limits and no such thing as qualifying for them. Amounts above 250k are up to FDIC discretion.

Anyway, I'm not talking about FDIC.

Re:FedNow Is Live by iknownothow on Thursday July 20, 2023 @03:46PM (#36805760)
The problem is, which "database"? If you know the data is always going to be in the range of ~1TB, use Postgres or some other ACID database. But I don't know of any petabyte scale ACID compliant database.

Also I'm not sure if ACID is sufficient or not for banking systems.

Re:FedNow Is Live by ZeroCool2u on Thursday July 20, 2023 @04:02PM (#36805948)
BigQuery is ACID compliant and easily handles petabytes.

https://cloud.google.com/bigquery/docs/introduction

Re:FedNow Is Live by ibains on Thursday July 20, 2023 @04:07PM (#36806002)
Yes, but in addition to being ACID compliant (serializable ANSI), you need to support a million transactions per second - it’s not just about data size.
Re:FedNow Is Live by moneywoes on Thursday July 20, 2023 @06:54PM (#36807878)
What’s the cloud infra like?
Re:FedNow Is Live by 89vision on Thursday July 20, 2023 @04:51PM (#36806581)
Nobody in their right mind is using BQ for oltp workloads
Re:FedNow Is Live by chaxor on Thursday July 20, 2023 @05:49PM (#36807208)
Any database easily handles terabytes, idk why that's a condition.

DuckDB and SQLite easily handle terabytes of data. They're just not so much for cloud based apps, or things that need multiusers and access control junk. They're the best choice for just about everything else though.

Re:FedNow Is Live by sjdmdlakziggy on Thursday July 20, 2023 @07:14PM (#36808080)
Generally speaking, you won't find financial institutions using Postgres for core line of business databases.
Re:FedNow Is Live by joeblubaugh on Thursday July 20, 2023 @11:02PM (#36809525)
What will they be using? A similar SQL database that has a big vendor behind it like Oracle, or something else?
Re:FedNow Is Live by zeroxfe on Thursday July 20, 2023 @04:01PM (#36805935)
T + 2day is ridiculous. T + 1ms is also ridiculous (speed of light and all.)
Re:FedNow Is Live by j16sdiz on Thursday July 20, 2023 @04:15PM (#36806104)
Some transactions can be rolled back asynchronously.

There are physical bank note, database from different system in trust or untrusted parties that need to be cross checked and reconsolidated

Re:FedNow Is Live by kibwen on Thursday July 20, 2023 @04:34PM (#36806359)
Not sure it's even useful to call it a "transaction" at that point, since nothing has been transacted. It feels like the difference between updating a value in-memory and committing a value to the database. Maybe you can hide the latency, but that hasn't removed the need to actually do the transaction, eventually.
Re:FedNow Is Live by semiquaver on Thursday July 20, 2023 @04:53PM (#36806606)
Apologies if I’ve misunderstood you (edit: I have) but assuming you are saying that 1ms to transfer funds between banks is ridiculously slow, why do you say that?

Light travels about 300km in one millisecond in a vacuum, about 200km in optical fiber. The best achievable theoretical fiber optic RTT for NYC-LA is about 35-40ms. In practice 65ms+ is more realistic due to routing overhead and the fact that cables aren’t always laid in a great circle. This being a financial API with three parties involved in most transactions (the two banks and the fed clearinghouse) there is sure to be more than one round trip involved for TLS establishment, authentication, verification of funds and account availability etc, many of which involve traversing many inevitably complicated systems on each side, it would shock me if such a system could realistically target anything less than 500ms P50.

Re:FedNow Is Live by pksohn on Thursday July 20, 2023 @04:57PM (#36806649)
I believe the comment you replied to was suggesting that 1ms is infeasibly fast.
Re:FedNow Is Live by semiquaver on Thursday July 20, 2023 @05:01PM (#36806695)
Ah, thanks! In that case feel free to interpret my reply as intended for GP.
Re:FedNow Is Live by pyrelight on Thursday July 20, 2023 @04:59PM (#36806681)
This is the most hacker news conversation ever.
Re:FedNow Is Live by patmorgan23 on Thursday July 20, 2023 @07:09PM (#36808025)
Yeah like who the f*ck cares if their bank transfer takes 1 second or 1 millisecond.
Re:FedNow Is Live by jowea on Thursday July 20, 2023 @07:15PM (#36808081)
Retail High-Frequency Trading.

Maybe I should delete this comment before someone gets an idea and starts selling their get rich quick course.

Re:FedNow Is Live by beojan on Thursday July 20, 2023 @04:46PM (#36806523)
T + 1 millisecond seems impossible. Light can only travel a couple of hundred miles in a millisecond.
Re:FedNow Is Live by ceejayoz on Thursday July 20, 2023 @04:49PM (#36806558)
Re:FedNow Is Live by mike_hock on Thursday July 20, 2023 @06:18PM (#36807514)
Expected the sendmail story, got the sendmail story.
Re:FedNow Is Live by dheera on Thursday July 20, 2023 @04:51PM (#36806579)
So if you're both in NYC it should be fine. At the very least T + ping time + 1 ms

And this should be available to customer investors (dudes at home) before retail investors (hedge funds)

Re:FedNow Is Live by NavinF on Thursday July 20, 2023 @05:19PM (#36806886)
"retail investors" normally refers to individuals at home and T+2 doesn't affect them because they have margin accounts.

The only limitation is that if you day trade, you'll need $25k in your margin account. Otherwise, you can withdraw your money milliseconds after selling $0.01 in shares

Re:FedNow Is Live by dheera on Thursday July 20, 2023 @05:27PM (#36806979)
Personally I use the word "retail" to refer to restaurants, stores, malls, and other soulless things that occupy commercial real estate.

I use "customers" to refer to souls that occupy residential real estate.

Re:FedNow Is Live by dbish on Thursday July 20, 2023 @05:39PM (#36807112)
You can use that, but there are pretty well understood terms in finance already (like retail investors), and probably best to use the standard if you want to be well understood.
Re:FedNow Is Live by NavinF on Thursday July 20, 2023 @05:43PM (#36807144)
I find that obnoxious
Re:FedNow Is Live by sclarisse on Thursday July 20, 2023 @06:10PM (#36807419)
Lewis Carroll wrote a gag about people using words like this.
Re:FedNow Is Live by patmorgan23 on Thursday July 20, 2023 @07:02PM (#36807961)
They retail investors, just like the people who patronize all of those businesses are retail customers.
Re:FedNow Is Live by smarx007 on Thursday July 20, 2023 @06:16PM (#36807507)
The PDF linked in the thread [1] specifies T+20s or no settlement.

[1]: https://explore.fednow.org/resources/technical-overview-guid...