https://github.com/yaccc/leafserver
:leaves:A high performance distributed unique ID generation system
https://github.com/yaccc/leafserver
distributed high-performance id unique-id
Last synced: 3 months ago
JSON representation
:leaves:A high performance distributed unique ID generation system
- Host: GitHub
- URL: https://github.com/yaccc/leafserver
- Owner: Yaccc
- License: apache-2.0
- Created: 2018-02-11T08:25:25.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2022-06-17T01:44:02.000Z (over 3 years ago)
- Last Synced: 2024-11-11T10:48:17.847Z (11 months ago)
- Topics: distributed, high-performance, id, unique-id
- Language: Java
- Homepage:
- Size: 83 KB
- Stars: 32
- Watchers: 7
- Forks: 10
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# leafserver
A high performance distributed unique ID generation system### [中文文档](https://github.com/Yaccc/leafserver/blob/master/README_CN.MD)
### how to start
- git clone git@github.com:Yaccc/leafserver.git &&
cd leafserver
- find coreTable.sql then create this table in database *leaf* on your MySQL
- in leafserver/leafserver-starter/src/main/profile/dev/application.yaml && modify url, username and password to your MySQL's
- cd leafserver && mvn clean package
- cd leafserver/leafserver-starter/target
- exec `java -jar leafserver-1.0-SNAPSHOP.jar`
- `curl http://localhost:9999/id?app=${app}&key=${key}` to get one ID before added data(app & key) to your DB table