Skip to content

Latest commit

 

History

27 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Introduction

idgen is the Global ID generation Platform ,thus like the twitter snowflake(https://github.com/twitter/snowflake).

The use sample of idgen is thus like the following :

  1. ApplicationContext context = new ClassPathXmlApplicationContext("classpath:client.xml"); MemIDPool idPool = context.getBean(MemIDPool.class); String id = idPool.borrow();

  2. client have to butt soa

  3. examples are the following address: git@github.com:chaneychan/idgen-sample.git

image image image image

About

分布式全局id

Topics

Resources

Stars

5 stars

Watchers

3 watching

Forks

Releases

Packages

Contributors

Languages