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

Add some random prefix to split ids. #4824

Open
fulmicoton opened this issue Apr 1, 2024 · 1 comment · May be fixed by #5495
Open

Add some random prefix to split ids. #4824

fulmicoton opened this issue Apr 1, 2024 · 1 comment · May be fixed by #5495
Labels
enhancement New feature or request

Comments

@fulmicoton
Copy link
Contributor

S3 creates partitions based on a prefix of the object keys.
Because we use ULID, splits coming from the same day end up on the same servers.
On the search side, most of the queries tend to target the last few days, and end up hitting the same servers.

For this reason, in some case, we can hit the per-prefix rate limiting.

@fulmicoton fulmicoton added the enhancement New feature or request label Apr 1, 2024
@fulmicoton
Copy link
Contributor Author

fulmicoton added a commit that referenced this issue Oct 17, 2024
…key.

The point is to workaround S3 rate limiting.
Since it is based on keys, our ULID naming scheme can lead to hotspot in
the keyspace.

This solution has a downside. External scripts listing files will have a their job multiplied.
For this reason, the prefix cardinality is configurable.

Closes #4824
fulmicoton added a commit that referenced this issue Oct 17, 2024
…key.

The point is to workaround S3 rate limiting.
Since it is based on keys, our ULID naming scheme can lead to hotspot in
the keyspace.

This solution has a downside. External scripts listing files will have a their job multiplied.
For this reason, the prefix cardinality is configurable.

Closes #4824
fulmicoton added a commit that referenced this issue Oct 17, 2024
…key.

The point is to workaround S3 rate limiting.
Since it is based on keys, our ULID naming scheme can lead to hotspot in
the keyspace.

This solution has a downside. External scripts listing files will have a their job multiplied.
For this reason, the prefix cardinality is configurable.

Closes #4824
fulmicoton added a commit that referenced this issue Oct 17, 2024
…key.

The point is to workaround S3 rate limiting.
Since it is based on keys, our ULID naming scheme can lead to hotspot in
the keyspace.

This solution has a downside. External scripts listing files will have a their job multiplied.
For this reason, the prefix cardinality is configurable.

Closes #4824
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant