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: 177,008 of 192,565
Downloads: 2,229

Daily

Ranking: 115,073 of 192,541
Downloads: 0

Depended by

RankDownloadsName

Depends on

RankDownloadsName
13,383,922,898bundler
81,308,632,851rake
29975,891,622rspec

Owners

#GravatarHandle
1iconliuxiangping