Add batch multi-get execution for improved performance#83
Open
bisho wants to merge 1 commit into
Open
Conversation
This was referenced Mar 17, 2026
Member
Author
807fe5b to
da0b273
Compare
1d8d11b to
35c7d13
Compare
da0b273 to
4df6369
Compare
35c7d13 to
285cfef
Compare
0c460b0 to
04ea778
Compare
98f1e1f to
6e3b2d9
Compare
0ef4f76 to
d254c4e
Compare
6ed12d6 to
51da0e9
Compare
d254c4e to
499b564
Compare
51da0e9 to
6ceea8d
Compare
499b564 to
235e27f
Compare
235e27f to
987f239
Compare
987f239 to
496bf20
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Optimize multi-get operations by using batch socket API
This change improves the performance of multi-get operations by implementing a dedicated
_exec_multi_get_on_poolmethod that uses the socket'smeta_multigetbatch API instead of executing individual get commands in a loop.Changes:
_exec_multi_get_on_poolmethod to handle META_GET commands efficiently using the batch APIexec_multi_on_poolto route META_GET commands to the new optimized pathmeta_multigetinstead of individualsend_meta_get/get_responsecallsThis optimization reduces the number of socket operations and improves throughput for multi-get requests while maintaining the same error handling and response processing behavior.
Performance