Arm18

Notes on distributed systems and networks

Clock skew is a feature you did not ask for

Every timeout, every lease, and every cache TTL is a statement about how much you trust two machines to agree on what time it is. Most outages blamed on the network are really disagreements about the present tense.

Two practical rules: never expire a credential on a clock you do not control, and always make the failure mode "too early" rather than "never".

On retries

A retry is a bet that the second attempt fails differently from the first. When it does not — a saturated link, a poisoned cache, a locked row — retrying just multiplies the load that caused the problem.