-
Notifications
You must be signed in to change notification settings - Fork 3.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
netty:Auto adjust BDP ping frequency #9650
Conversation
…m decrement 1 to simply 1.
@ejona86 please review |
* Split for loop out into its own test * Change setDataSizeAndSincePing to set time to current time rather than 1 second (or nanosecond) previous.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sending what I have, in whatever state it happens to be.
@ejona86 ping |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm a bit concerned about whether the NettyClientStream.start() blows up in our face, but assuming it doesn't, consider the comments and LGTM.
…w happens after check to start a ping.
…fer return a byte[].
…fer return a byte[]. Remove extra factory NettyServerHandler.newHandler
This reverts commit f5e8459.
Only initiate a BDP ping after every X bytes of data where X is a multiple of the window size that increases when the window isn't changing.
Added a ticker to the Netty handlers so that bandwidth could be properly controlled from tests.
Fixes #8260