MMehradinmehradsadeghi.hashnode.dev·2d ago · 19 min readCircuit Breaker Pattern Explained: How to Prevent Cascading Failures in Distributed SystemsWhat happens when one service fails, but your entire system keeps calling it anyway ? Imagine your payment service is down. Normally, every purchase request follows a path like this: User ↓ Order Ser00
MMehradinmehradsadeghi.hashnode.dev·5d ago · 8 min readMySQL Overselling: Why SELECT Isn't Enough and How SELECT ... FOR UPDATE Solves ItImagine you’re running an online store, there’s exactly one item left in stock. Two customers click Buy at almost exactly the same time. Both requests reach your application. Both transactions ask the00
MMehradinmehradsadeghi.hashnode.dev·5d ago · 8 min readTwo Transactions, One Row: What Does MySQL Actually Let You See ?Can one transaction see another transaction’s uncommitted changes ? Can the same query return different results inside a single transaction ? And why does SELECT sometimes give you a snapshot, while S00