News for hackers. Stuff that matters.
Re:Things I learned while developing a billing system by arnon on Monday April 05, 2021 @04:31PM (#26704295)
> If I ever get to redesign the billing system at work, I'm going to go with fixed day of the month billing.

This may have unintended consequences. Some examples we faced around this:

1. Stress on our APIs when 15,000 invoices are created in the span of a couple of minutes. We had to build more queueing mechanisms around this. Some services just can't handle more than 100 calls a second.

2. Getting rate limited by MasterCard

3. Some payment providers thinking we're brute-forcing them

Re:Things I learned while developing a billing system by virtue3 on Monday April 05, 2021 @04:35PM (#26704353)
Aren't all of these handled by a queue and some reasonable sense of going through it slowly? (I can just say that on the internet, I know designing it that way is not exactly trivial).
Re:Things I learned while developing a billing system by arnon on Monday April 05, 2021 @04:44PM (#26704450)
Not all systems have sane defaults or queues built-in.

I'm just saying this needs consideration when you reach a certain scale.