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: 179,886 of 196,672
Downloads: 2,270

Daily

Ranking: 58,925 of 196,643
Downloads: 0

Depended by

RankDownloadsName

Depends on

RankDownloadsName
13,713,752,031bundler
81,407,073,634rake
291,016,421,425rspec

Owners

#GravatarHandle
1iconliuxiangping