Krypton

Krypton

Mod

A mod to optimize the Minecraft networking stack

Client or server OptimizationUtility

1.90M downloads
2,686 followers
Created3 years ago
Updated3 months ago

Follow Save
Host your Minecraft server on BisectHosting - get 25% off your first month with code MODRINTH.

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 seen 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.

External resources



Project members

astei

Owner


Technical information

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