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:
=

installieren:
=

Versionen:

  1. 0.1.1 September 18, 2018 (11 KB)
Zeige alle Versionen (2 total)

Development Abhängigkeiten (3):

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

Besitzer:

Autoren:

  • liuxiangping

SHA 256-Prüfsumme:

=

Downloads insgesamt 2.197

Für diese Version 2.176

Version veröffentlicht:

Lizenz:

MIT

Erforderliche Ruby-Version: >= 0

Links: