netty5/transport/src
Norman Maurer 69f9a94f59
Increase initial buffer size in AdaptiveRecvByteBufAllocator (#10600)
Motivation:

We should use an initial buffer size with is >= 1500 (which is a common setting for MTU) to reduce the need for memory copies when a new connection is established. This is especially interesting when SSL / TLS comes into the mix.

This was ported from swiftnio:

https://github.com/apple/swift-nio/pull/1641

Modifications:

Increase the initial size from 1024 to 2048.

Result:

Possible less memory copies on new connections
2020-09-22 17:27:25 +02:00
..
main Increase initial buffer size in AdaptiveRecvByteBufAllocator (#10600) 2020-09-22 17:27:25 +02:00
test/java/io/netty Create a stackless ClosedChannelException to reduce overhead when theā€¦ (#10523) 2020-09-01 15:25:41 +02:00