|
|
|
|
|
by mlyle
533 days ago
|
|
It's mentioned in the RFC as being explicitly monotonic based the time-based design. Implementations that need monotonicity beyond the resolution of a timestamp-- like when you allocate 30 UUIDs at one instant in a batch-- can optionally use those additional bits for that purpose. > Implementations SHOULD employ the following methods for single-node UUID implementations that require batch UUID creation or are otherwise concerned about monotonicity with high-frequency UUID generation. (And it goes on to recommend the obvious things you'd do: use a counter in those bits when assigning a batch; use more bits of time precision; etc.) The comment in PostgreSQL before the implementation makes it clear that they chose the third option for this in the RFC: * variant bits. To ensure monotonicity in scenarios of high-
* frequency UUID generation, we employ the method "Replace
* LeftmostRandom Bits with Increased Clock Precision (Method 3)",
* described in the RFC. ...
|
|
It's explicitly partially monotonic.
Or as other people would call it, "not monotonic".
People are talking past each other based on their use of the word "monotonic".