Handling Partial Failures in Distributed Systems
A payment either happens or it doesn't. That's the story we tell customers, and it's the story regulators want to hear. But underneath, a single card...
A payment either happens or it doesn't. That's the story we tell customers, and it's the story regulators want to hear. But underneath, a single card...
The meeting that decided this ran about forty minutes. We had a greenfield ledger service to build, a payments platform that would eventually touch a few...
The first wallet system I inherited stored balances as a single column on the user row. A background job updated it. When two payments landed in the same 200...
A few years ago we shipped a payment reconciliation job that, under load, occasionally credited a merchant twice for the same settlement. Not often. Maybe one...
The first time I ran a blue-green deployment in anger, it was 6:40 on a Friday evening and the payment authorization service had been down for eleven minutes....
A few years ago I sat in a postmortem for an outage that cost us most of a business day of failed settlements. The root cause was not a bug in anything we had...
The worst rules engine I ever inherited had 1,847 rules in a single database table, evaluated top to bottom, and the order they ran in was determined by the...
For the first decade of my career, observability meant one thing: logs. When something broke, you SSH'd into a box, tailed a file, and grepped for the word...
Of all the categories of bugs I have seen ship to production over a twenty-year career, the ones rooted in date and time handling are the most insidious. They...
Most of the worst production incidents I have managed in fintech did not start with a dramatic failure. They started quietly, with a service that was perfectly...
Notifications look like a small feature until you operate one at scale. Then you discover that the humble "we just send the customer an email" requirement is...
Every distributed system fails. That is not a pessimistic statement; it is an operational one. In the payments platforms I have run, the question was never...