-
Notifications
You must be signed in to change notification settings - Fork 24.4k
Refactor Client Write Preparation and Handling #13721
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
Refactor Client Write Preparation and Handling #13721
Conversation
e9cdef9 to
c6fd636
Compare
…g replica and non-replica handling
c6fd636 to
de49159
Compare
…erbose the usage of client slave and monitor use-cases.
Co-authored-by: debing.sun <[email protected]>
Co-authored-by: debing.sun <[email protected]>
CE Performance Automation : step 2 of 2 (benchmark) FINISHED.This comment was automatically generated given a benchmark was triggered. Started benchmark suite at 2025-01-10 19:31:08.441028 and took 8152.022405 seconds to finish. In total will run 135 benchmarks. |
Automated performance analysis summaryThis comment was automatically generated given there is performance data available. Using platform named: intel64-ubuntu22.04-redis-clx1 to do the comparison. In summary:
You can check a comparison in detail via the grafana link Comparison between unstable and filipecosta90:optimize.prepareClientToWrite.Time Period from 5 months ago. (environment used: oss-standalone) Improvements Table
Improvements test regexp names: memtier_benchmark-10Kkeys-load-hash-50-fields-with-10000B-values|memtier_benchmark-1Mkeys-generic-scan-pipeline-10|memtier_benchmark-1Mkeys-load-stream-5-fields-with-100B-values-pipeline-10|memtier_benchmark-2keys-zset-300-elements-skiplist-encoded-zunion Full Results table:
|
|
Hi @fcostaoliveira and do you know if |
Co-authored-by: Yuan Wang <[email protected]>
|
I tried |
This update refactors prepareClientToWrite by introducing _prepareClientToWrite for inline checks within network.c file, and separates replica and non-replica handling for pending replies and writes (_clientHasPendingRepliesSlave/NonSlave and _writeToClientSlave/NonSlave). --------- Co-authored-by: debing.sun <[email protected]> Co-authored-by: Yuan Wang <[email protected]>
This update refactors prepareClientToWrite by introducing _prepareClientToWrite for inline checks within network.c file, and separates replica and non-replica handling for pending replies and writes (_clientHasPendingRepliesSlave/NonSlave and _writeToClientSlave/NonSlave).
prepareClientToWrites improvement
splitting replica and non-replica handling improvement
TBD
To test it we can simply:
Confirmation from daily:
benchmark results
Achievable ops/sec impact:
To reproduce: