- This is implementation of https://towardsdatascience.com/ace-the-system-design-interview-distributed-id-generator-c65c6b568027
- This project creates seriall unique IDs
- IDs are encoded with three parts
- Timestamp
- WorkerID
- Counter
- Multiple PODs can be spun up and they will generate unique IDs across applicaton (due to WorkerID encoding)
- TODO: Encode goroutine id as 4th part.
-
Notifications
You must be signed in to change notification settings - Fork 0
aniketchopade/id-generator
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published