A mod to optimize the Minecraft networking stack
Krypton is a work-in-progress. I do not provide any guarantees about its stability, compatibility with other mods, or support for every possible setup out there. Support for this mod is provided on a "best-effort" basis. This is not my day job, it is a hobby growing out of related work I've done.
Did this mod make your server playable? Chip in a bit of money so I can continue developing it.
Krypton contains several optimizations, including:
- Highly optimized Netty handlers derived from the Velocity proxy, which I am the developer of. These handlers have sen real-world usage and extensive profiling, and strategically deploy native code where it makes the most sense.
- Flush consolidation to lower server CPU usage (and reducing the impact from hardware security vulnerabilities which exploit speculative execution) and lower server tick times.
- Micro-optimizations to reduce memory usage and improve packet serialization speeds.
Please join my Discord to discuss the mod or get support.
Krypton should work anywhere where a Minecraft can run — naturally, however, it is tuned for Linux.
I try to ensure that Krypton will work with the Fabric API, Lithium, and Sodium. Support beyond these mods is provided on a best effort basis.