yandrey321 commented on PR #10536: URL: https://github.com/apache/ozone/pull/10536#issuecomment-4936394608
> Performance tip from Google: > > > If your application creates and discards thousands of buffers per second, use heap buffers. If your architecture relies on steady, high-throughput network frameworks (like [Netty](https://stackoverflow.com/questions/38638411/netty-4-1-iobuffer-v-s-directbuffer-v-s-heapbuffer)) or file channels, use a reusable pool of direct buffers to get the best of both worlds. @szetszwo the benchmark clearly shows that in Ozone context heap allocation provides better throughput. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
