Skip to content

expose packet coalesce window as --coalesce-ms#18

Merged
leafaar merged 2 commits into
masterfrom
coalesce-cli-arg
Jun 18, 2026
Merged

expose packet coalesce window as --coalesce-ms#18
leafaar merged 2 commits into
masterfrom
coalesce-cli-arg

Conversation

@leafaar

@leafaar leafaar commented Jun 18, 2026

Copy link
Copy Markdown

The receiver coalesce duration was hardcoded to 0. Make it configurable via --coalesce-ms (env COALESCE_MS) on the shredstream and forward-only subcommands so it can be tuned per deployment.

Default stays 0 to keep the current low-latency behavior: each batch is forwarded as soon as it arrives. A higher value waits up to that long to build bigger batches, trading latency for less CPU.

leafaar added 2 commits June 18, 2026 17:03
The receiver coalesce duration was hardcoded to 0. Make it configurable
via --coalesce-ms (env COALESCE_MS) on the shredstream and forward-only
subcommands so it can be tuned per deployment.

Default stays 0 to keep the current low-latency behavior: each batch is
forwarded as soon as it arrives. A higher value waits up to that long to
build bigger batches, trading latency for less CPU.
@leafaar leafaar merged commit 5cb3382 into master Jun 18, 2026
0 of 2 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