8000 Max unique time range? · Issue #113 · dylang/shortid · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Max unique time range? #113
Open
Open
@zhaoyao91

Description

@zhaoyao91

As I understood, given fixed seed, workerId, the generated ids are unique, so the only thing that decides which id to generate is the time. However, the combinations are limited, so the uniqueness could only be ensured within some time range. If I keep generating ids over that time range, I must enter another loop and get duplicated ids.

Is that right? what's the max time range this package guarantee?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0