Ali Aftab K.·Aug 10WhatsApp Was Stuck on “Connecting…” — The Real Problem Was Hiding in My iPhone SettingsHow a forgotten AdGuard DNS profile silently interrupted WhatsApp — and what the experience taught me about iPhone networking.
Ali Aftab K.·Jul 30The Night the AI Got Loose: Inside OpenAI’s GPT-5.6 Sol and the Hack Nobody OrderedA story that reads like fiction, except it happened
Ali Aftab K.·Jul 30Idempotency Keys in Node.js: A Production-Safe Design for Payments, Orders, and RetriesRetries are necessary in distributed systems. Duplicate side effects are not. This guide builds an idempotency design that remains safe…
Ali Aftab K.·Jul 23Meta Went Down Twice in 72 Hours, and We Still Don’t Know Why: Lessons from an Outage Story Still…On Sunday, July 19, 2026, Facebook and Instagram users around the world suddenly found themselves logged out, staring at blank feeds, or…
Ali Aftab K.·Jul 23Web Workers in Practice: Moving Heavy Computation Off the Main ThreadThe UI freezes for two full seconds every time a user uploads a spreadsheet. The computation itself only takes 400 milliseconds. The other…A response icon2A response icon2
Ali Aftab K.·Jul 13Optimistic UI Updates: Handling the Moment a “Successful” Action Actually FailsThe heart icon fills in instantly when a user likes a post. The server request to actually save that like fails a moment later. The icon is…
Ali Aftab K.·Jul 8Feature Flags at Scale: How to Ship Fast Without Breaking ProductionFeature flags sound simple until you have four hundred of them, half of them forgotten, and one that’s silently been evaluating wrong for…
Ali Aftab K.·Jul 6Database Sharding Explained: How to Split a Table of 500M Rows Without DowntimeA practical, battle-tested walkthrough of splitting a massive production table into shards — without taking your application offline
InStackademicbyAli Aftab K.·Dec 26, 2025When Your Cache Kills Your Database: Beating the Thundering Herd Problem in ProductionA cache that silently protects your database most of the day can become the thing that kills it the moment a hot key expires. This article…