2 ms·
But a real clock has some uncertainty bounds, and within those bounds, there is only partial or no ordering guarantee.
by londons_explore 5y ago
But a real clock has some uncertainty bounds, and within those bounds, there is only partial or no ordering guarantee.
- sudhirj 5y agoExactly, and Google claims to have made those bounds so small they can be assumed to be zero for all practical applications. They mention the bound size somewhere, and if you have enough leading zeroes for your use case you can just round it down.
- judofyr 5y agoDo you have a source for this? From my understanding these bounds are actively being used during the commit protocol: The leader will wait (i.e. just run sleep()) for a period of time. This period is determined from the bounds and ensures that the commit is definitely in the past [across all replicas].