It’s still super early in the JDK 14 development cycle (13 is in release candidate phase as mentioned earlier), though one of the interesting new features in development there is a standard API to access NVMe storage as a ByteBuffer. Not only that, but there’s work being done to support long in addition to int as the offset in ByteBuffer’s API, so we shouldn’t be limited to a 2 GB buffer size max, either, which is useful for long running logs without rotating.
What do you think? Would this work as a v14-specific variant of the existing mmap appender, or an entirely new appender? I’m asking based on two issues here: potential API changes that would warrant a second plugin, or even simply the pain that is running multiple JDK versions in a single project (already a pain point currently). I’d be disappointed if we have to start offloading things like that into a separate repo entirely, but I’m not really sure how to make this work well for both release purposes and development ones. -- Matt Sicker <[email protected]>
