Lease - Patterns of Distributed Systems

In this story from the series Patterns of Distributed Systems, Unmesh Joshi talks about how to prevent cluster nodes from crashing, what to do when they do, and similar issues.

Cluster nodes need exclusive access to certain resources. But nodes can crash; they can be temporarily disconnected or experiencing a process pause. Under these error scenarios, they should not keep the access to a resource indefinitely.

It's one of the best stories you can find on the topic. It comes with code examples and diagrams to explain the problem and solution in detail.


Want to receive more content like this in your inbox?