OpenSearch/plugins/transport-nio
Tim Brooks a705e1a9e3
Add byte array pooling to nio http transport (#31349)
This is related to #28898. This PR implements pooling of bytes arrays
when reading from the wire in the http server transport. In order to do
this, we must integrate with netty reference counting. That manner in
which this PR implements this is making Pages in InboundChannelBuffer
reference counted. When we accessing the underlying page to pass to
netty, we retain the page. When netty releases its bytebuf, it releases
the underlying pages we have passed to it.
2018-06-15 14:01:03 -06:00
..
licenses Revert upgrade to Netty 4.1.25.Final (#31282) 2018-06-12 19:26:18 -04:00
src Add byte array pooling to nio http transport (#31349) 2018-06-15 14:01:03 -06:00
build.gradle Revert upgrade to Netty 4.1.25.Final (#31282) 2018-06-12 19:26:18 -04:00