Skip to content

relay: deepen datagram send queue and drop oldest-first#450

Open
afrind wants to merge 1 commit into
mainfrom
datagram-queue-defaults
Open

relay: deepen datagram send queue and drop oldest-first#450
afrind wants to merge 1 commit into
mainfrom
datagram-queue-defaults

Conversation

@afrind

@afrind afrind commented Jun 26, 2026

Copy link
Copy Markdown
Contributor

Raise the mvfst datagram send queue above the default of 75 and switch the full-queue policy from rejecting the incoming datagram to popping the oldest, so a momentary write stall sheds stale frames rather than failing new writes. Relay listeners use writeBufSize=500; the upstream client leg uses 1000.


This change is Reviewable

Raise the mvfst datagram send queue above the default of 75 and switch the
full-queue policy from rejecting the incoming datagram to popping the oldest,
so a momentary write stall sheds stale frames rather than failing new writes.
Relay listeners use writeBufSize=500; the upstream client leg uses 1000.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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