Skip to content

Introduction

Welcome to Rustalink, a high-performance, resource-efficient, and protocol-compatible audio server for Discord, written entirely in Rust.

Rustalink is designed to be a modern alternative to legacy JRE-based solutions, prioritizing low latency and minimal resource footprint.


FeatureRustalinkLegacy (JRE)
RuntimeNative Binary (Rust)JVM (Java)
GC PausesNone (Deterministic)Frequent (Stop-the-world)
Memory FootprintLow (~10MB idle)High (100MB+ idle)
Startup TimeInstant (<10ms)Slow (Seconds)
ConcurrencyAsync (Tokio)Multi-threaded

  • Performance First: Engineered from the ground up for maximum throughput and predictable latency.
  • Safety & Stability: Leveraging Rust’s memory safety guarantees to eliminate common crashes and vulnerabilities.
  • Modern Standards: Built on top of industry-standard libraries like Tokio and Axum.

  • Drop-in Compatibility: Fully supports the Lavalink v4 protocol. Your existing clients will work without modification.
  • Blazing Fast Decoding: Powered by Symphonia for pure Rust audio demuxing and decoding.
  • Advanced DSP Engine: studio-grade 32-bit floating-point audio processing.
  • Extensive Filter Support: Bassboost, Equalizer, Karaoke, Tremolo, Vibrato, and more.
  • Resource Efficiency: Significantly lower memory footprint and CPU utilization than Java-based alternatives.
  • Lyrics Support: Integrated lyrics search and synchronized lyrics streaming.

Ready to experience the power of Rust? Head over to the Installation guide to set up your first node.