pi_guid64 0.1.2

An GUID Generator
Documentation
  • Coverage
  • 30%
    3 out of 10 items documented0 out of 9 items with examples
  • Size
  • Source code size: 4.48 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1.71 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 10s Average build duration of successful builds.
  • all releases: 10s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • GaiaWorld/pi_guid64
    0 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • moyy github:gaiaworld:dev

pi_guid64

全局唯一ID, 64位

{1970年的时间(ms)(6字节),节点编号(2字节)}

同一个GuidGen分配的guid,保证time不重复

分布式系统可以利用控制编号来管理hash,进行一致hash命中