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: 175,271 of 188,645
Downloads: 2,185

Daily

Ranking: 146,171 of 188,635
Downloads: 0

Depended by

RankDownloadsName

Depends on

RankDownloadsName
13,096,027,797bundler
101,194,085,295rake
29937,687,145rspec

Owners

#GravatarHandle
1iconliuxiangping