All Projects → downgoon → Snowflake

downgoon / Snowflake

java edition of [Twitter Snowflake](https://github.com/twitter/snowflake), a network service for generating unique ID numbers at high scale with some simple guarantees.

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to Snowflake

Butterfly
分布式ID生成器框架:超高性能的发号器框架。通过引入多种新的方案,彻底解决雪花算法的时间回拨等问题,并将雪花算法原生QPS提高最少十几~二十倍
Stars: ✭ 111 (-2.63%)
Mutual labels:  uuid, snowflake
sno
Compact, sortable and fast unique IDs with embedded metadata.
Stars: ✭ 77 (-32.46%)
Mutual labels:  uuid, snowflake
Ble
✨Android BLE基础操作框架,基于回调,操作简单。包含扫描、多连接、广播包解析、服务读写及通知等功能。
Stars: ✭ 1,183 (+937.72%)
Mutual labels:  uuid
Gosnowflake
Go Snowflake Driver
Stars: ✭ 108 (-5.26%)
Mutual labels:  snowflake
Sonyflake Rs
🃏 A distributed unique ID generator inspired by Twitter's Snowflake.
Stars: ✭ 91 (-20.18%)
Mutual labels:  snowflake
Hotelsystem
🏨TopView工作室一轮考核项目:一个酒店管理系统,提供查看房间,对房间进行模糊查询,预订房间,个人信息管理,房间和酒店信息管理(管理员)等功能,后台使用Java,tomcat,mysql,servlet,jsp实现,没有使用任何框架
Stars: ✭ 78 (-31.58%)
Mutual labels:  uuid
Snowflake
A simple to use Go (golang) package to generate or parse Twitter snowflake IDs
Stars: ✭ 1,314 (+1052.63%)
Mutual labels:  snowflake
Sql Runner
Run templatable playbooks of SQL scripts in series and parallel on Redshift, PostgreSQL, BigQuery and Snowflake
Stars: ✭ 68 (-40.35%)
Mutual labels:  snowflake
Bioconvert
Bioconvert is a collaborative project to facilitate the interconversion of life science data from one format to another.
Stars: ✭ 112 (-1.75%)
Mutual labels:  sequence
Swarm
A robust and fast clustering method for amplicon-based studies
Stars: ✭ 88 (-22.81%)
Mutual labels:  sequence
Laravel Uuid
laravel uuid a simple, automatic UUID generator for any model based on Laravel
Stars: ✭ 103 (-9.65%)
Mutual labels:  uuid
Uuid Random
Fastest UUID with cryptographic PRNG for JS
Stars: ✭ 87 (-23.68%)
Mutual labels:  uuid
Uuid Creator
A Java library for generating and handling RFC-4122 UUIDs.
Stars: ✭ 78 (-31.58%)
Mutual labels:  uuid
Snow Stamp
Get the timestamp from a Discord snowflake ❄
Stars: ✭ 95 (-16.67%)
Mutual labels:  snowflake
Locopy
locopy: Loading/Unloading to Redshift and Snowflake using Python.
Stars: ✭ 73 (-35.96%)
Mutual labels:  snowflake
Seqsvr
序列号生成器--《万亿级调用系统:微信序列号生成器架构设计及演变》开源实现
Stars: ✭ 109 (-4.39%)
Mutual labels:  sequence
Iter
Simple iterator abstract datatype, intended to iterate efficiently on collections while performing some transformations.
Stars: ✭ 71 (-37.72%)
Mutual labels:  sequence
Echo360
Commandline tool for automated downloads of echo360 videos hosted by university
Stars: ✭ 81 (-28.95%)
Mutual labels:  uuid
Monster
The Art of Template MetaProgramming (TMP) in Modern C++♦️
Stars: ✭ 90 (-21.05%)
Mutual labels:  sequence
Fast Uuid
A Java library for quickly and efficiently parsing and writing UUIDs
Stars: ✭ 114 (+0%)
Mutual labels:  uuid

Snowflake

java edition of Twitter Snowflake, a network service for generating unique ID numbers at high scale with some simple guarantees.

QuickStart

  • import maven dependency
<dependency>
  <groupId>xyz.downgoon</groupId>
  <artifactId>snowflake</artifactId>
  <version>1.0.0</version>
</dependency>
  • sample code
// datacenter: 2; workerId: 5
Snowflake snowflake = new Snowflake(2, 5);
long id1 = snowflake.nextId();
long id2 = snowflake.nextId();

snowflake.formatId(id1);

for more details, please read SnowflakeDemo2.java.

snowflake tutorial

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].