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

cuid as partition key #74

Closed
kjmiller1 opened this issue Dec 9, 2016 · 1 comment
Closed

cuid as partition key #74

kjmiller1 opened this issue Dec 9, 2016 · 1 comment

Comments

@kjmiller1
Copy link

Due to the c{timestamp}... structure, I have concerns about "todays" items creating a hot spot in a distributed data store for my use-case (long history of items, todays items are used heavily, using aws DynamoDB).

Thoughts on the validity of my concern?

@ericelliott
Copy link
Collaborator

Most distributed storage systems allow you to create your own partitioning hash function. I would give it a try, and if it does indeed create a hotspot, swap out the hash function to solve it.

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

No branches or pull requests

2 participants