Performance
Performance is the primary directive of Potato MC. By utilizing Rust's zero-cost abstractions, data-oriented design, and fearless concurrency, Potato MC achieves metrics impossible on JVM-based servers.
Hardware Tuning Guide
The "1GB VPS" Tier
- View Distance: 6
- Simulation Distance: 4
- Worker Threads: 2
- Result: Smooth 20 TPS for 5-10 players.
Why is it so fast?
- No Garbage Collector: Rust's memory ownership model ensures memory is freed instantly when no longer needed, eliminating the random TPS drops caused by Java's GC pauses.
- Rayon Threading: Unlike standard servers which are heavily single-threaded, Potato MC offloads chunk loading, network encryption, and independent entity ticking to a localized thread pool.
- Contiguous Memory: Entities and block states are stored in ECS (Entity Component System) arrays, ensuring CPU cache-lines are fully utilized during tick loops.