-
Notifications
You must be signed in to change notification settings - Fork 69
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
Java: Add UDS read/write error handling and tests with glide core mock #949
Java: Add UDS read/write error handling and tests with glide core mock #949
Conversation
* Add UDS read/write error handling and tests with glide core mock. Signed-off-by: Yury-Fridlyand <[email protected]>
what's the performance cost of all of these new allocations on the hot path? |
I merged this branch with #896 and run benchmark 5 times with old and new code
New has 62320 tps I feel that measurement precision is less the difference. |
@Yury-Fridlyand, in order to reduce noise, we usually run the benchmark multiple times (usually 10), with full data/concurrency configurations, and then check the difference between averages in each data/concurrency tuple - that way we catch issues that stem mostly in one scenario and not others. I'll share the system & the analysis file I use in the evening meeting. |
@Yury-Fridlyand @acarbonetto Please comment when it's ready for another round |
TL;DR What is our measurement precision?
See performance results and script I used for running benchmark in zip: 949.zip I run benchmarking 20 times on an EC2 instance vs standaloe and cluster redis running on another EC2. All tests were with TLS. |
@Yury-Fridlyand 1% is well within our noise range, but I do see that there's a clear degradation throughout all scenarios on the 10 concurrent tasks values. It's not critical, but are there alternatives that don't require allocations on the hotpath? BTW, why do you use these custom values for the benchmark? they're not the defaults we use. |
I propose to make a task to investigate it later unless it is a blocker now.
Unfortunately, not.
My mistake. Do you want me to re-run? |
Doesn't even need to be a task. If you'll have perf issues (once the benchmark actually works correctly), we'll investigate everything. Let's just remember that this might be a contributor.
No, thanks. You've spent enough time on this. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
@barshaul do you want to take a look?
valkey-io#949) Add UDS read/write error handling and tests with glide core mock. (#76) * Add UDS read/write error handling and tests with glide core mock. Signed-off-by: Yury-Fridlyand <[email protected]>
Features:
Missing:
ChannelHandler
.