Memory Mapped IO is one of the fastest IO options available for Java program. If you are writing latency sensitive application, where IO can skew your numbers, then using MemoryMappedByteBuffer is a good option. What is Memory Mapped File and IO in Java Memory mapped files are special, which allows Java program to access contents directly from memory, this is achieved by mapping whole file or port