-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Use BitSet instead of LinkedHashSet to improve the performance of SlotRange construction #2525
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
Conversation
…tRange construction
Pull request: spring-projects#2525
First, I will start by saying that there is little question a Therefore, a "throughput" measurement for "adding slots" to the Therefore, I created another Benchmark to measure the "average time" of calling the The It is also used to determine all the nodes in the cluster that serve a particular slot (this). Of course, this is useful during reads in a replicated, clustered environment in order to improve read performance (both throughput and latency). |
My findings are consistent with the expected outcome, that there is sizable improvement in performance when assessing whether a Redis cluster node is managing a slot using a Using
Using
|
Pull request: spring-projects#2525
…tRange construction. Pull request: spring-projects#2525
Pull request: spring-projects#2525
Of course, using a |
…tRange construction. Pull request: spring-projects#2525
Pull request: spring-projects#2525
Here are the JMH test results for BitSet and LinkedHashSet
Here is the JMH test code