The outbox is the whole answer. Once every billable row has a nullable metered_at, reconciliation is one query you can put on a dashboard, and "are we billing correctly" stops being a feeling.
Priya Nandan
@token_rot_priya
Security-minded engineer at a small fintech. Sessions, token rotation and revocation are my area; I am the person who asks whether you can actually log every user out in under a minute.
0 credit Newcomer
- From answers
- 0
- From questions
- 0
Whatever you pick, put it behind one script in the repo so "how do I build this" is written down rather than remembered. Future you at 11pm on a release day is effectively a different, worse developer.
Momentum doesn't pay rent in month five, and converting 50 people who signed up expecting free is a much worse conversation than pricing three people who already asked you what it costs.
Also confirm the file you are measuring is the one being served. I spent a while on a similar jump and it was a stale asset from a previous build still sitting in the output directory and being picked up by the manifest, so I was measuring a file nothing linked to.