unofficial mirror of meta@public-inbox.org
 help / color / mirror / Atom feed
* lei timestamp resolution for mail synchronization
@ 2021-05-07  0:13 Eric Wong
  0 siblings, 0 replies; only message in thread
From: Eric Wong @ 2021-05-07  0:13 UTC (permalink / raw)
  To: meta

Is millisecond resolution "good enough" for mail synchronization?

Or maybe even seconds is sufficient...

When syncing mail across machines/devices/reboots, using the
system clock seems required (anybody syncing mail also uses
NTP, right?).

While Time::HiRes allows access to .tv_nsec for some APIs;
Time::HiRes::stat converts it to a double-precision float
(NV/Numeric Value in perlguts-speak).  That's not enough for
microsecond accuracy, even; and of course I don't think most
kernels or HW is actually accurate down to the nanosecond level.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-05-07  0:13 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-05-07  0:13 lei timestamp resolution for mail synchronization Eric Wong

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).