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

multi-threaded compactor with randomness #744

Merged
merged 5 commits into from
Sep 5, 2024

Conversation

brianolson
Copy link
Contributor

This is #742 with additional feature of half the compactor workers pop randomly from the backlog

bgs/compactor.go Outdated Show resolved Hide resolved
bgs/compactor.go Outdated Show resolved Hide resolved
bgs/compactor.go Outdated Show resolved Hide resolved
bgs/compactor.go Outdated Show resolved Hide resolved
@ericvolp12
Copy link
Collaborator

This looks pretty reasonable to me, jumbling up the queue doesn't make me too concerned cause the stuff at the end of the queue is gonna be really quick to compact anyhow. I'm +1 on all of Why's comments.

@brianolson brianolson marked this pull request as ready for review September 5, 2024 04:17
Copy link
Collaborator

@whyrusleeping whyrusleeping left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cool, LGTM. lets give it a shot

@brianolson brianolson merged commit 502cf77 into main Sep 5, 2024
7 checks passed
@brianolson brianolson deleted the bolson/multicompactor-rand branch September 5, 2024 18:27
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.

3 participants