[KongchangAI]
Concepttime.monotonic / monotonic clock

Monotonic Clock

A timing mechanism that only guarantees monotonic increase and is unaffected by adjustments to the system wall clock. It is suitable for measuring time intervals and is provided in Python by time.monotonic().

Timeline (last 90 days)

Oct 18

Time-sensitive judgments should trust only a single time source (usually the database's now()), or use a monotonic clock rather than the wall clock to measure time intervals.

Unverified50%
Oct 14

When implementing minimum age gating, a monotonic clock rather than a wall clock should be used to compute eligibility time, to avoid misjudgments caused by NTP time correction or time zone changes; cross-process and cross-machine scenarios may need to rely on server-side timestamps or version numbers.

Unverified50%

All Facts (2)

Source Articles