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 校验和:

cec9d2823aec88edf1f6b75be08504b6e845bac87bc07abc6d29bc40de5d9758

下载总量 1,953

这个版本 1,932

许可:

MIT

需要的 Ruby 版本: >= 0

链接: