Engineer / Platform
Blog
Engineering blog from Engineer ApS, with problems from real projects, their root causes and the fixes that worked.
Most of the notes below started as something that went wrong on a real project. The rest take a known failure apart before it reaches one. We write them down because the fix is usually worth more than the incident, and because the next person to hit it should not have to rediscover it.
Selling the last ticket exactly once
A flash sale oversells on one hot row, not on a big database. What stops it: a conditional write, holds that expire, and a saga.