Two-Phase Commit vs. Saga Pattern: distributed transactions in microservices
Why synchronous Two-Phase Commit (2PC) fails in cloud microservices, and how the asynchronous Saga pattern coordinates distributed transactions with compensating rollbacks.
The engineering questions you get asked, and the bugs you actually hit. Drawn, one mechanism at a time, in the order the videos ship.
Why synchronous Two-Phase Commit (2PC) fails in cloud microservices, and how the asynchronous Saga pattern coordinates distributed transactions with compensating rollbacks.
A deep dive into distributed consensus, linearizability, PACELC theorem, and choosing between immediate consistency and high-throughput low latency.
How to eliminate heavy file upload traffic from application servers by using AWS S3 Presigned URLs and asynchronous serverless event processing.
Microservices do not eliminate complexity; they move in-memory function calls over the network into distributed systems. What you gain, what you lose, and when to switch.
Rate limiters protect servers from traffic surges, DoS attacks, and abusive scraping. How token bucket and leaky bucket work, and which one your API needs.