Home›Java›Mods›Celeris
Celeris
ModsJava

Celeris

Java mod listed for Minecraft 26.x. Downloads from the MC Java Mods app on Android.

by fy2ne · on Modrinth

Rust JNI & Netty transport engine that eliminates ms latency spikes on Minecraft servers under heavy packet bursts.

⬇ Download on Modrinth

Celeris is a Rust JNI and Netty transport engine for Minecraft servers (Paper, Purpur, Spigot, Folia, Velocity). It eliminates ms latency spikes caused by chunk floods, world transfers, and kernel socket bufferbloat.

What It Does

Standard Minecraft servers push every outbound packet into a single FIFO queue and an uncapped OS TCP send buffer. When the server flushes 256 KB–1,024 KB of chunk data, small latency-critical packets stall behind bulk transfers—creating 15–45 ms+ queuing spikes on top of normal ping.

Celeris replaces the server's outbound framing, compression, and scheduling path with a per-channel Rust engine (plus a pure-Java fallback):

  1. Priority Packet Scheduling: Separates outbound traffic into Express (keepalives, state sync, interactions, blocks, atomic BundleDelimiter trains), Ordering Barriers (ChunkBatchStart/Finished, FinishConfiguration), and Bulk (chunks, light updates, recipes). Express traffic cuts ahead between 32 KB bulk wire slices without breaking stream ordering or ViaVersion.
  2. Kernel TCP Pacing: Sets TCP_NOTSENT_LOWAT (default 16384 bytes), TCP_NODELAY, and TCP_QUICKACK, and reads Linux TCP_INFO RTT/retransmission metrics to throttle bulk bursts before bufferbloat builds up.
  3. Fused Single-Pass Rust Codec: Combines VarInt framing and zlib compression in one off-heap Rust pass, reducing Netty ByteBuf allocations and GC pauses.
  4. Cipher & DoS Hardening: Encryption (AES-128-CFB8) runs strictly at drain time so priority scheduling never desyncs stream ciphers. Handshake channels bypass queuing, and Express queues enforce strict byte/packet bounds.

Measured Benchmarks (0.1.0-beta)

Full datasets and interactive charts: https://celeris.fy2ne.me

Workload Vanilla FIFO Celeris java-engine Celeris rust-native
1 MB Burst Express P99 (32 KB slices) 44,390 us 130 us 100 us
TCP Loopback 1 MB Burst KeepAlive P50 13.07 ms 0.81 ms 0.82 ms
TCP Loopback 1 MB Burst KeepAlive P95 15.25 ms 3.17 ms 2.70 ms

Limits


Commands

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

File checked by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more