Proxy speed
A proxy passes every packet between player and server (see Proxy). What matters is how much CPU time and RAM it spends.
The proxy has a trusted link to Vanillite servers behind it: the server already compresses each packet the way the player's connection needs it, so the proxy passes it on unchanged instead of unpacking and repacking it. Paper servers behind the proxy keep the old way.
Against Velocity
The benchmark suite (scenario Proxy relay) lets 100 and then 500 bots walk randomly through a proxy into a Vanillite server (modern forwarding). It measures the proxy process only. Run of 2026-11-25 on the 4-core test machine (commit not recorded): vanillite-proxy from the same commit, Velocity 4.3.1 build 45 with Java 25 (-Xms512M -Xmx2G).
| Proxy | Players | CPU (100 % = one core) | RAM | Join time (all in) | Delay p95 |
|---|---|---|---|---|---|
| vanillite-proxy | 100 | 11.8 % | 15 MiB | 9 s | 0.21 ms |
| Velocity | 100 | 47.9 % | 647 MiB | 17 s | 6.5 ms |
| vanillite-proxy | 500 | 78 % | 55 MiB | 22 s | 12.4 ms |
| Velocity | 500 | 257 % | 1034 MiB | 60 s | 758 ms |
%%{init: {"themeVariables": {"xyChart": {"plotColorPalette": "#8a8f98, #2e9d5b"}}}}%%
xychart-beta
title "Proxy CPU, % of one core (lower is better): Velocity grey, vanillite-proxy green"
x-axis "Players" [100, 500]
y-axis "CPU %" 0 --> 300
bar [47.9, 257]
bar [11.8, 78]
At 500 players vanillite-proxy used about 3.3× less CPU and about 19× less RAM than Velocity, and its delay stayed low where Velocity's grew. All bots stayed connected in both runs. One run, with bots instead of real players, so read this as a direction.
Per packet
CPU time of the proxy per forwarded packet. Micro-benchmark with 214 recorded packets, 2026-11-24.
| Before (first proxy version) | With the trusted link | |
|---|---|---|
| With encryption (online mode) | 4.2–4.8 µs | 1.9–2.1 µs (about 2.3× less) |
| Without encryption | 2.5 µs | 0.14 µs (about 18× less) |
µs = microsecond, a millionth of a second. With encryption, most of the remaining time is the encryption itself, which the player's connection always needs.
%%{init: {"themeVariables": {"xyChart": {"plotColorPalette": "#2e9d5b"}}}}%%
xychart-beta
title "Proxy CPU time per packet, without encryption (lower is better)"
x-axis ["Before", "Trusted link"]
y-axis "Microseconds" 0 --> 3
bar [2.5, 0.14]
Not measured yet
- A load test with thousands of players through the proxy.
- Real players with encryption on (the bots run in offline mode).
See also: How we measure.
Next: Memory and startup numbers.