[Feat] Modify task datatype of AsuClient to spsc ring queue - #1306
Merged
Infinite666 merged 6 commits intoAug 31, 2026
Merged
Conversation
Fengli5355
requested review from
Infinite666,
Wwwzff,
mag1c-h and
nrj868
as code owners
August 29, 2026 02:21
yuanzhg078
reviewed
Aug 29, 2026
Fengli5355
force-pushed
the
br_AsuClient_SpscClient
branch
from
August 31, 2026 02:38
368a1d9 to
e88a1c5
Compare
Infinite666
approved these changes
Aug 31, 2026
Infinite666
pushed a commit
to Infinite666/unified-cache-management
that referenced
this pull request
Aug 31, 2026
…ine-Group#1306) ## Purpose This PR optimizes data structure of AsuClient tasks. ## Modifications 1. Replace deque with SpscRingQueue 2. Add some compiling options for kv-test 3. kv-test bench adds --count option to set IO number to certain value 4. Reserve space for router variables 5. Add config MaxInflightTasks for client/transport seperately ## Test All unit tests are passed. An offline inference is passed with fake/aiv provider. Kv-test runs bench command normally with --count option.
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.
Purpose
This PR optimizes data structure of AsuClient tasks.
Modifications
Test
All unit tests are passed.
An offline inference is passed with fake/aiv provider.
Kv-test runs bench command normally with --count option.