Skip to content

Send large RPC messages in chunks#174278

Merged
alexdima merged 3 commits intomicrosoft:mainfrom
MarkZuber:markzuber/lgrpc
Feb 22, 2023
Merged

Send large RPC messages in chunks#174278
alexdima merged 3 commits intomicrosoft:mainfrom
MarkZuber:markzuber/lgrpc

Conversation

@MarkZuber
Copy link
Contributor

@MarkZuber MarkZuber commented Feb 13, 2023

Fixes #174277

Large RPC message buffers can hold onto the NodeJS thread for a long time, esp on slow networks. This diff sets an upper threshold and anything beyond it will send the message in chunks.

@alexdima
Copy link
Member

Let's discuss in #174277

@alexdima alexdima added this to the February 2023 milestone Feb 22, 2023
@alexdima alexdima merged commit 122ed15 into microsoft:main Feb 22, 2023
@alexdima
Copy link
Member

Thank you @MarkZuber !

@github-actions github-actions bot locked and limited conversation to collaborators Apr 10, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Write of large buffer in WebSocketNodeSocket can hold NodeJS thread too long

5 participants