DPDevesh Parmarinbackend-bytes.hashnode.dev·1d ago · 5 min readWhy the Same Postgres Query Can Randomly Get Slower With No Code ChangeImagine you're the engineer on call when a dashboard query that normally runs in a few hundred milliseconds suddenly takes several seconds. Nothing in the query changed. No new indexes were dropped. C00
DPDevesh Parmarinbackend-bytes.hashnode.dev·Jun 27 · 6 min readDistributed Locks: The Bug That Only Shows Up Under LoadImagine you're the engineer at a ticketing platform during a major concert drop. Two users click "Book Seat 14B" at the exact same millisecond. Both requests hit different servers. Both servers read t00
DPDevesh Parmarinbackend-bytes.hashnode.dev·Jun 20 · 9 min readHow Google Photos Finds Your Memories: And What Breaks When Vector Search Goes WrongYou typed "Spiti Valley 2026" and Google Photos found it instantly, with no tags, no albums, no manual sorting. Here's the engineering behind that magic, and what happens when it fails. The Magic Yo00
DPDevesh Parmarinbackend-bytes.hashnode.dev·Jun 13 · 8 min readHow a Logging Endpoint Took Down Our API Gateway The Day Logging Became a Denial-of-Service Attack The Morning Everything Broke It was a regular morning. Then alerts started firing users couldn't log in. 504 Gateway Timeout across multiple APIs. T00
DPDevesh Parmarinbackend-bytes.hashnode.dev·Jun 6 · 7 min readDiving deep into Outbox Pattern.The Incident Imagine this. A user initiates a ₹10,000 transfer on a fintech app. The payment service processes it successfully. The user sees a green checkmark. Money is debited from their account. Bu00