RubyGems Navigation menu

snow_flake 0.1.1

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

Gemfile:
= 複製 已複製

安裝:
=

版本列表:

  1. 0.1.1 - September 18, 2018 (11.0 KB)
顯示所有版本(共 2)

Development 相依性套件 (3):

bundler ~> 1.16
rake ~> 10.0
rspec ~> 3.0

擁有者:

作者:

  • liuxiangping

SHA 256 總和檢查碼:

= 複製 已複製

總下載次數 1,977

這個版本 1,956

授權:

MIT

Ruby 版本需求: >= 0

相關連結: