Live data from Hacker News

Why Building Billing Systems Is So Painful (2024)

dmitry.ie

1–10 of 20 posts

Re: Why Building Billing Systems Is So Painful (2024)

#2
I've done a from-scratch billing system build. As well as the complexities in the article, some of the logic required can result in rather exotic SQL.

Answering questions like "what was the maximum number of concurrent sessions per account between these two dates" with a SQL query is interesting. Making it perform properly adds a layer of fun.

Re: Why Building Billing Systems Is So Painful (2024)

#4
In my experience the reason they are so painful is because stuff keeps getting tacked on and nobody wants to clean it up because they are afraid they are going to mess up some crazy business logic that a small fraction of customers depend on.

Basically business logic isn't logical.

Re: Why Building Billing Systems Is So Painful (2024)

#9

In my experience the reason they are so painful is because stuff keeps getting tacked on and nobody wants to clean it up because they are afraid they are going to mess up some crazy business logic that a small fraction of customers depend on. Basically business logic isn't logical.

Isn't that what tests are for?
Post reply on HN