The buffer currently used by grizzly-sendfile is just a simple NIO ByteBuffer. It is likely that double buffering would make the buffer utilization and file reads more efficient and therefor this improvement should be explored.
Description
The buffer currently used by grizzly-sendfile is just a simple NIO ByteBuffer. It is likely that double buffering would make the buffer utilization and file reads more efficient and therefor this improvement should be explored.