Krypton

Krypton

A mod to optimize the Minecraft networking stack

Client or server OptimizationUtility

283.9K downloads
1,243 followers
Created2 years ago
Updated15 days ago

External resources



Project members

astei

Owner


Technical information

License
LGPL-3.0-only
Client side
optional
Server side
optional
Project ID

Warning

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.

Sponsor Me!

Did this mod make your server playable? Chip in a bit of money so I can continue developing it.

What's Krypton?

Krypton (from Ancient Greek kryptos, "the hidden one") is a Fabric mod that attempts to optimize the Minecraft networking stack. It derives from work done in the Velocity and Tuinity projects.

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.

Compatibility

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.