Skip to content

Memory-bounded streaming builder for /controller. Produces the JSON p…#25

Merged
cjkas merged 1 commit intomainfrom
scz/split-response
Apr 21, 2026
Merged

Memory-bounded streaming builder for /controller. Produces the JSON p…#25
cjkas merged 1 commit intomainfrom
scz/split-response

Conversation

@cjkas
Copy link
Copy Markdown
Owner

@cjkas cjkas commented Apr 21, 2026

Memory-bounded streaming builder for /controller. Produces the JSON payload one small unit at a time into a fixed 3KB buffer, so a chunked HTTP response can drain it as the TCP send window allows — no growing cbuf in the async response stream.

…ayload one small unit at a time into a fixed 3KB buffer, so a chunked HTTP response can drain it as the TCP send window allows — no growing cbuf in the async response stream.
@cjkas cjkas merged commit 15e7dd1 into main Apr 21, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant