Conversation
Hical61
requested review from
Kaliumhexacyanoferrat and
MDA2AV
as code owners
September 18, 2026 04:03
meta.json 补 mode: standard、tests 加 echo-ws-pipeline(16 帧背靠背 回显)。WS 内核 receiveInternal 天然支持单 read 多帧 drain,/ws 端点 已存在,零框架改动,报名后等官方重跑一轮即可出该 profile 数据。
echo-ws-limited 与 echo-ws 共用 /ws 端点,测短连接 churn 下的握手/建连 开销。握手栈逐连接实时算 Sec-WebSocket-Accept,零框架改动。
MDA2AV
force-pushed
the
feat/hical-echo-ws-pipeline
branch
from
September 18, 2026 11:07
030f69b to
a64bcd3
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.
Changes
Add two WebSocket profiles for Hical:
echo-ws-pipeline(16-message back-to-back echo throughput) andecho-ws-limited(short-lived connection churn).Changes to
frameworks/hical/meta.json:mode: "standard"(framework-standard WS API with default buffer sizes, matching the Standard constraints)echo-ws-pipelineandecho-ws-limitedtotestsenabledstaystrue(kept since the last re-enable)Notes
/wsendpoint; no new code is required.receiveInternalreads the kernel buffer with a singleasync_read_some, drains multiple frames via afor(;;)loop, and consumes them withmemmove— zero extra framework change for the pipelined echo scenario.Sec-WebSocket-Acceptper connection from the client key per RFC 6455, satisfying the echo-limited constraint against pre-computed 101 responses.