Repository navigation
perf(http): schedule native GetTask ingress on the dispatcher pool - #337
Merged
MisterVVP merged 3 commits intoNov 20, 2026
Merged
Conversation
MisterVVP
added a commit
that referenced
this pull request
Nov 25, 2026
## Changes - Optimize async gRPC client streaming and HTTP/JSON + JSON-RPC request handling. - Improve async dispatcher scheduling, cancellation, streaming and response lifecycle handling. - Include the native HTTP ingress improvements already reviewed in #337 and #338. - Add targeted tests and performance benchmarks; fix related protocol compatibility issues. ## Verification The identical head commit (`355db351f7e1161fdffad55e2f2baf33d8e5fe8a`) passed the CI, TCK Conformance, CodeQL, Docs, Tutorials and Commit messages workflows on #334: [CI #1571](https://github.com/MisterVVP/a2a-cpp/actions/runs/44828943977). **Policy note:** the diff includes the contributor TCK-gate change from #338 (100% mandatory compliance → no regression), which should be reviewed independently of performance improvements.
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.
Summary
GetTaskingress onto the dispatcher pool owned byAsyncRuntime. Requests start through the existing queued per-request strand.Authorship and AI usage
Testing
The prototype passed 38 focused tests. The seven paired Release repetitions produced 98 result rows with zero errors. The comparison used an in-memory store, the same async unary client, fixed CPU placement, a 250 ms warmup, and three-second timed runs.
GetTask, concurrency 1GetTask, concurrency 64GetTask, concurrency 64GetTask, concurrency 64GetTaskThe benchmark results are from the existing prototype runs. Full validation is deferred to CI.