This is a gem can generate ID using SnowFlake. The advantage of SnowFlake is that it is sorted by time increment on the whole, and there is no ID collision (distinguished by data center ID and machine ID) in the whole distributed system, and it is more efficient. After testing, SnowFlake can generate about 260,000 IDs per second

Required Ruby Version

>= 0

Authors

liuxiangping

Versions

  1. 0.1.1 September 18, 2018 (11 KB)
Show all versions (2 total)

SHA 256 checksum