3 ms·
With a single producer and consumer, yes - but of course that's seldom the case. With multiple producers and consumers, clock skew would be an issue, with the
by GordonS 6y ago
With a single producer and consumer, yes - but of course that's seldom the case.
With multiple producers and consumers, clock skew would be an issue, with the time on different machines being off from each other slightly.
One option is to use a single source for generating IDs, but that introduces another failure point, and comes at a hefty performance cost.