The Case for Contract Testing
In 2019 we shipped a payment settlement service that talked to nine internal systems. The team that owned the ledger changed a field from a nullable string to...
68 articles tagged #architecture.
In 2019 we shipped a payment settlement service that talked to nine internal systems. The team that owned the ledger changed a field from a nullable string to...
At 9:14 on a Monday morning a few years back, one of our payment gateways started returning 502s. Not because it was down, but because a marketing team had...
The first time I load tested a payment API properly, I did it wrong. We fired 5,000 requests per second at a shiny new authorization endpoint, watched it hold...
The first reconciliation pipeline I inherited was a 4,000-line stored procedure that ran once a night and emailed a spreadsheet to three people. When it broke,...
The first time backpressure bit me hard, it was 2 a.m. and a payment reconciliation pipeline had quietly fallen 90 minutes behind. Nothing had crashed. No...
The first sandbox I ever shipped for partners was a lie. It shared a database with staging, the "reset" button quietly wiped one integrator's data while...
The first time a webhook retry policy cost us real money, it wasn't because a webhook failed. It was because a webhook succeeded, and then we sent it four more...
The first time an event schema change took down a downstream service, I was three years into running payments infrastructure and I still thought of events as...
The first currency conversion bug I ever shipped cost us about 40 euros. A customer in Poland paid an invoice denominated in euros, we converted to zloty for...
A support ticket landed on my desk a few years ago with the subject line "invoice off by one cent." A merchant in the Netherlands had split a €100.00 order...
A few years ago I spent the better part of a Friday night staring at a payment reconciliation job that had gone from taking ninety seconds to taking forty...
The worst outage I ever sat through lasted four hours, and for the first two of them every dashboard we owned was green. The load balancer was happily routing...