It’s all about buffers: zero-copy, mmap and Java NIO Java performance optimization using NIO boost performance -Getting started with new I/O (NIO) https://github.com/TeachingOW/zero-copy