achieve:
1. database implementation, database tables using the unique index
2.Redis distributed lock, using the unique attributes of redis key
3.Zookeeper achieved using Node node uniqueness
achieve:
1. database implementation, database tables using the unique index
2.Redis distributed lock, using the unique attributes of redis key
3.Zookeeper achieved using Node node uniqueness