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,738 of 189,199
Downloads: 2,193

Daily

Ranking: 114,730 of 189,169
Downloads: 0

Depended by

RankDownloadsName

Depends on

RankDownloadsName
13,161,842,405bundler
91,225,825,609rake
29946,846,304rspec

Owners

#GravatarHandle
1iconliuxiangping