Categories: None [Edit]

snow_flake

https://rubygems.org/gems/snow_flake
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

Total

Ranking: 180,752 of 197,398
Downloads: 2,286

Daily

Ranking: 39,686 of 197,375
Downloads: 1

Depended by

RankDownloadsName

Depends on

RankDownloadsName
13,837,368,187bundler
81,438,362,456rake
291,029,370,535rspec

Owners

#GravatarHandle
1iconliuxiangping