Staff Engineering Skills Clock Skew

Prevent bugs caused by assuming clocks are synchronized or monotonic. Use when writing code that compares timestamps across machines, measures durations, sets lock expiry, orders distributed events, deduplicates by time window, or uses Date.now() for anything other than logging or display. Activates on patterns like Date.now() used for duration measurement, absolute timestamp expiry shared across machines, wall clock timestamps for event ordering, last-write-wins conflict resolution with timestamps, or timeout calculations using wall clock time.

triggerdotdev 49693b8 9.0 KB Updated

File contents

triggerdotdev/staff-engineering-skills/tree/main/skills/staff-engineering-skills-clock-skew commit 49693b855a

Frequently asked questions

npx skillmds@latest add triggerdotdev/staff-engineering-skills-clock-skew