YJYasir Jafriinyasir323.hashnode.dev·Jun 27 · 13 min readTap, Tap, Charged Twice: The Idempotency-Key PatternA friend once messaged me, mildly furious, with a screenshot from his bank: the same $500 payment, twice, two seconds apart. He'd tapped "Pay," the app spun for a moment, nothing happened, so he tappe10
YJYasir Jafriinyasir323.hashnode.dev·Jun 26 · 17 min readThe Transactional Outbox Pattern in Python: Solving the Dual-Write ProblemThere's a particular kind of bug I've learned to be afraid of. It doesn't throw an exception. It doesn't show up in your tests. It passes code review, ships on a Friday, and works perfectly for three 10
YJYasir Jafriinyasir323.hashnode.dev·Jun 21 · 9 min readThe Heap That Wouldn't Sit StillA while back at work I picked up a ticket that sounded almost insultingly simple when I first read it: "show the top 25 gainers and top 25 losers today". Live, off the tick firehose, for the whole mar10
YJYasir Jafriinyasir323.hashnode.dev·Jun 12 · 3 min readBuilding in Public: Payment Reliability, Event-Driven Systems, and Tested AII'm a Senior Software Engineer who's spent the last 5 years building fintech and real-time systems: a UPI payment flow processing ~1,000 transactions a day, a stock-alert system serving a million user00