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

3.x: Implement lazy replica shuffling #441

Open
dkropachev opened this issue Feb 18, 2025 · 0 comments
Open

3.x: Implement lazy replica shuffling #441

dkropachev opened this issue Feb 18, 2025 · 0 comments
Labels
enhancement New feature or request Performance

Comments

@dkropachev
Copy link
Collaborator

It is followup for: #427
According to scylladb/cassandra-stress#38 (comment) there is still difference between Shuffled and not shuffled replicas, which made me think that array shuffling operations are very expensive.

Solution to that would be lazy shuffling, when original replica list is preserved as is while next item is being randomizes only when it is needed.
We need to do that and see if there is performance difference.

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

No branches or pull requests

1 participant