High-throughput, optimized fork of the Velocity Minecraft proxy server engineered for low latency, native libdeflate compression, Redis cluster synchronization, and zero-copy packet switching.
Velocity-Opt builds directly upon PaperMC's Velocity proxy, introducing high-performance patches specifically targeted for large multi-server networks and Folia backend server clusters.
- Native Libdeflate Compression: Replaces standard Java zlib with high-performance native
libdeflatecompression, cutting proxy CPU usage during packet bursts by up to 45%. - Redis Cluster Routing & Player Presence: Distributed player state tracking and multi-proxy pub/sub packet broadcasting with atomic presence TTLs.
- Netty Transport Optimization: Custom pooled direct buffer allocators (
PooledByteBufAllocator) tuned for Linux edge-triggeredepollloops. - Folia Backend Protocol: Smooth player transfer handshakes without regional scheduler synchronization hitching.
- Zero-Copy Packet Slicing: Bypasses heap allocations during high-frequency packet pass-through.
Velocity-Opt requires Java 21 or higher.
# Clone the repository
git clone https://github.com/FalseSharing/Velocity-Opt.git
cd Velocity-Opt
# Build with Gradle
./gradlew buildThe resulting proxy JAR will be available in proxy/build/libs/.
Velocity-Opt is licensed under the GNU General Public License v3.0 (GPL-3.0). See LICENSE for details.