-
Notifications
You must be signed in to change notification settings - Fork 853
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
Some feature requests related to the decoder and flush operations #186
Comments
Thanks for your helpful suggestion!
|
Had tried that feature, the throughput increased by 40% and the rt decreased by 15% based on myself PC benchmark report. XD |
In fact, netty will limit the size of each received packet, and the maximum size of each packet will not exceed 8192. And we will complete this optimization in next version . |
Whats mean of that netty will limit the size of each received packet ? i dont get it. |
if ((version == RpcProtocolV2.PROTOCOL_VERSION_1 && in.readableBytes() >= lengthAtLeastForV1)
|| (version == RpcProtocolV2.PROTOCOL_VERSION_2 && in
.readableBytes() >= lengthAtLeastForV2))
|
Is your feature request related to a problem? Please describe.
Describe the solution you'd like
Additional context
Hope thats helpful ;-)
The text was updated successfully, but these errors were encountered: