While Elixir handles concurrency, Discord faced performance limits with its immutable data structures when managing large, frequently mutating member lists (e.g., 250,000+ items). They integrated Rust via Native Implemented Functions (NIFs) to create a `SortedSet` data structure, achieving significant performance gains (6.5x best-case, 160x worst-case improvement for mutations).