Hacker News new | ask | show | jobs
by danielvaughn 1685 days ago
There's plenty of space in the middle though, no? Bank accounts cut you off if you hit a zero balance, or they can execute your transactions and charge you a fee. Why can't these services implement throttling or even halting if the charges hit a certain ceiling?
1 comments

In some cases the query might have finished before the data hits the billing system.
That’s not an argument.

As long as query #2 doesn’t run, that’s better then nothing.

So you want to add an overhead for each query to check an internal LRU cache that then checks the billing system? Just the overhead of hashing the query into some cacheable identifier will hurt performance.