Skip to content

sisyphsu/common

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

common

Some useful library for Java & SpringBoot implementation.

common-cluster

Provider some useful features for distributed cluster system, include:

  • ClusterID: allocate and lock one unrepeated global nodeID for the current node, which based on ZooKeeper.
  • DistributedLock: provide multi-key's distributed lock implementation, which based on Redis.
  • SnowFlakeID: provide an simple and efficient SnowFlakeID implementation, which based on ClusterID.
  • TickID: provide another distributed incremental ID generator, which based on ZooKeeper or Redis.

Click For Detail

点击查看中文版文档

License

MIT

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks