Skip to content

Conversation

@Imagio
Copy link

@Imagio Imagio commented Mar 14, 2021

0xffL - only 8 bits

0xff - only 8 bits
Copy link
Owner

@Horusiath Horusiath left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The general precision rules are:

  • 4 bits → 1.6µs
  • 8 bits → 25.6µs
  • 12 bits → 409.6µs
  • 16 bits → 6.5ms

Arguably 16 bits may be too much, but it's still more than enough to make it up for a resolution of DateTime.UtcNow. 16 bits were also proposed in original Hybrid Logical Clocks paper. For these reasons I'm tempted to keep 16 bits precision as it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants