Wire snowflake ID generator into all stores as default Event.ID #44
Labels
No labels
bug
documentation
enhancement
investigation
nice-to-have
performance
production-ready
testing
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
ash/eskit#44
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
Snowflake generator exists in
id/package but is NOT used by any store. Stores use garbage IDs:fmt.Sprintf("%d", id)fmt.Sprintf("%s@%d", streamID, version)fastID()(random)This defeats the purpose of having snowflake IDs — no time-ordering, no B-tree optimization.
Fix
Why it matters