[Feat] Add ASU client and transport modules - #1320
Open
Fengli5355 wants to merge 2 commits into
Open
Conversation
Fengli5355
requested review from
FangRun2,
Infinite666,
Tarrei,
Wwwzff,
mag1c-h and
ygwpz
as code owners
September 1, 2026 09:49
Fengli5355
force-pushed
the
br_KvAsu
branch
2 times, most recently
from
September 1, 2026 11:10
7453717 to
3c4b29a
Compare
Co-authored-by: yuanzhg078 <939526371@qq.com> Co-authored-by: AooooooA-C <chenaozhu@outlook.com> Co-authored-by: Frankie <45790445+Frankielx@users.noreply.github.com>
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 introduces the ASU client and transport modules under
ucm/transport/kv/asu.ASU provides an asynchronous KV transport layer between upper-level stores/connectors and different transport providers. It includes client-side routing and configuration, task lifecycle management, connection and buffer management, KV/SQE protocol handling, and transport provider abstraction.
This is the first PR of the
feature_26h1staged merge.kv-test,asu-store, connectors, and other upper-level modules will be merged in subsequent PRs.Modifications
ASU module and client APIs
Add the ASU module skeleton, public client/transport APIs, configuration parsing, view management, and client-side routing.
Corresponding PR
Client task management
Add asynchronous client task management, task completion handling, SPSC task queues, and single STORE/LOAD operations.
Corresponding PR
KV transport protocols
Add ASU KV/SQE protocols, request packing, submit flow, I/O scheduling, transport task execution, and response status handling.
Corresponding PR
Connection and memory management
Add connection lifecycle management, endpoint recovery, buffer registration, shared transport providers, buffer-pool support, and memory-key propagation.
Corresponding PR
Transport providers
Add provider selection and integration for AICPU, externally supplied AIV libraries, and FakeBackend. Optimize concurrent FakeBackend task processing.
Corresponding PR
ASU-side integration APIs
Incorporate ASU-side API changes required by later
kv-test,asu-store, and connector integration, without including those upper-level modules in this PR.Corresponding PR
Unit tests and build integration
Add ASU client and transport unit tests, reorganize the test suites, reduce test runtime, and enable ASU tests in CI.
Add the
BUILD_UCM_ASUCMake option and wire the ASU module into the transport build.Corresponding PR
Test
Only ASU unit tests are required for this staged PR.
All unit tests passed.