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: 176,087 of 190,469
Downloads: 2,203

Daily

Ranking: 63,261 of 190,443
Downloads: 1

Depended by

RankDownloadsName

Depends on

RankDownloadsName
13,252,447,659bundler
81,259,155,611rake
29958,915,034rspec

Owners

#GravatarHandle
1iconliuxiangping