Distributed Systems

Nodes disagree about expiry

Why it happens

Wall clocks drift and messages are delayed.

Potential bug

One service accepts an already expired offer/token.

Mitigation

Evaluate expiry at the authoritative service/database with tolerance; use durations on clients only for display.

See it in context