25/41
Part 5 of 7 · Failure handlingLearn and do

A lease, renewed by heartbeats

A worker can die in the middle of a request. The service has to notice, and give the request to another worker.

Predict

A 60-second lease with a heartbeat every 15 s. The worker dies at 40 s, and its last beat was at 30 s. When does the lease lapse?

Pick an answer above to see the rest