| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
bVelocity is a performance-oriented Velocity fork for operators who care about one thing first: pushing more Minecraft traffic through the same bandwidth budget.
Compared with stock Velocity, bVelocity ships with more aggressive compression defaults, higher native compression levels, built-in compression observability, and a cleaner operational command surface. The goal is simple: when the traffic is compressible, bVelocity squeezes it hard.
If your network is dominated by chunk data, NBT-heavy payloads, or other repetitive Minecraft traffic, bVelocity is designed to turn that into noticeably lower wire usage without requiring a plugin stack or external instrumentation.
If you are moving from stock Velocity, the migration is straightforward:
bVelocity keeps velocity.toml in lock-step with upstream Velocity, so every setting bVelocity owns lives in a separate bvelocity.toml that is created on first boot if absent. Specifically:
Things you should check after switching:
Recommended migration strategy for cautious operators:
For most networks that want lower bandwidth usage without getting reckless, edit bvelocity.toml:
[compression]
compression-threshold = 128
compression-level = -1and leave these upstream knobs in velocity.toml:
[advanced]
tcp-fast-open = true
log-command-executions = true
log-player-connections = trueIf you want a more conservative profile (in bvelocity.toml):
[compression]
compression-threshold = 192
compression-level = 9If you want to chase bandwidth reduction aggressively (in bvelocity.toml):
[compression]
compression-threshold = 64
compression-level = 12Be honest about the tradeoff: lower threshold and higher compression level can reduce wire usage further, but they also cost CPU. bVelocity gives you the tooling to measure that tradeoff live instead of guessing.
Note on the -1 default: bVelocity tunes the auto level to the compression-ratio sweet spot rather than the absolute maximum. On typical Minecraft traffic the ratio plateaus well below level 12 while CPU cost keeps climbing linearly, so -1 resolves to a level that captures nearly all of the savings at a fraction of the cost. Run /bv compression benchmark on your own traffic to confirm, and dial the level up explicitly if your benchmark shows meaningful gains at higher levels.
Use the Gradle wrapper:
./gradlew buildIf you only want the proxy jar:
./gradlew :velocity-proxy:shadowJarThe packaged artifact is:
proxy/build/libs/bVelocity-1.0.0-SNAPSHOT.jar
Use these commands after startup:
Bandwidth directions are outbound (proxy to players), inbound (players to proxy), or all. Top values are optional and accept 1..50. Traffic that occurs before authentication, such as status queries and login setup, is displayed as unattributed traffic. Disable collection with packet-bandwidth-stats-enabled = false in [optimization] when diagnostics are not needed; this setting takes effect after restart.
The benchmark is useful for comparing compression levels. The live stats are what tell you whether your real traffic mix is actually saving bandwidth.
One real-world run on libdeflate (Linux x86_64) produced the following:
◆ Compression Benchmark
│ Sample=32.00 KiB | Rounds=64 | Backend=libdeflate (Linux x86_64)
│ Level 1 | Encoded=14.05 KiB | Saved=56.09% | Avg=109.93 us
│ Level 2 | Encoded=11.87 KiB | Saved=62.92% | Avg=153.79 us
│ Level 3 | Encoded=11.86 KiB | Saved=62.93% | Avg=185.31 us
│ Level 4 | Encoded=11.86 KiB | Saved=62.93% | Avg=200.54 us
│ Level 5 | Encoded=11.79 KiB | Saved=63.14% | Avg=222.20 us
│ Level 6 | Encoded=11.80 KiB | Saved=63.13% | Avg=339.09 us
│ Level 7 | Encoded=11.80 KiB | Saved=63.11% | Avg=717.75 us
│ Level 8 | Encoded=11.81 KiB | Saved=63.10% | Avg=1.20 ms
│ Level 9 | Encoded=11.81 KiB | Saved=63.10% | Avg=1.25 ms
│ Level 10 | Encoded=11.74 KiB | Saved=63.30% | Avg=1.87 ms
│ Level 11 | Encoded=11.73 KiB | Saved=63.35% | Avg=2.29 ms
│ Level 12 | Encoded=11.73 KiB | Saved=63.35% | Avg=2.28 ms
│ Best size: level 11 -> 11.73 KiB
│ Best speed: level 1 -> 109.93 us
And the matching live traffic window reported:
◆ bVelocity Compression Stats
│ Window: 285s
│ Backend: libdeflate (Linux x86_64)
│ Threshold: 128 | Level: auto(native=6/java=6)
│ Packets total=58796 compressed=9634 passthrough=49162
│ Raw payload: 84.70 MiB | Wire bytes: 9.27 MiB
│ Compressed payload: 84.03 MiB | Compressed wire: 8.51 MiB
│ Compressed-only savings: 75.52 MiB (89.87%)
│ Overall wire efficiency: 89.06%
Interpret that carefully:
| Back | FazBrowse Home | New Git URL |