Grokking Operating Systems and Networking for Backend Engineers
Vote

0% completed

​

The Timeout Chain and Idle Connections

A customer places an order and receives an error after one second: 504 Gateway Timeout. Two seconds after the order started, Checkout's own log records order 1042 saved in the database. The customer sees a failure, the store has a saved order, and neither side knows what the other one saw.

Nothing crashed. A load balancer between the customer and Checkout stopped waiting after one second, while Checkout needed two. Every hop in a request has its own timers, and trouble starts when they disagree.

.....

.....

.....

Like the course? Get enrolled and start learning!

Reading Progress

0%


Vote for new content