Hi folks, in iotdb we have a quite frequent use of Javas native ByteBuffer’s for our IO. I was wondering if anybody did an analysis on object creation / destruction and so on. As some may know, the netty project provides an interface called ByteBuf (https://netty.io/4.0/api/io/netty/buffer/ByteBuf.html). Then, implementations based on On-Heap or Off-Heap memory can be used for specific use cases. Some operations are even zero-copy.
Furthermore, ByteBuf are Reference counted and recycled, so the performance will definetly be superior. The only important question is if anybody already analyzed how much potential there is and if its worth the effort? Julian
