Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generatelink implementation #49

Merged
merged 3 commits into from
Sep 20, 2024

Conversation

kentprince13
Copy link
Contributor

No description provided.

@kentprince13
Copy link
Contributor Author

Snowflakes algorithm is designed for distributed systems and can handle millions of unique IDs per second. The generated ID was then converted into a base62 string to shorten the length of the final link.
The final link would look like this https://www.c-sharpcorner.com/article/generate-a-snowflake-id-whose-length-is-16/

Inspiration was taken from this implementation https://www.c-sharpcorner.com/article/generate-a-snowflake-id-whose-length-is-16/

@thisisnabi thisisnabi merged commit 1f9e334 into thisisnabi:main Sep 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants