Changelog Master Feed

Rust efficiencies at AWS scale (Ship It! #89)

Feb 16, 2023
Ask episode
AI Snips
Chapters
Transcript
Episode notes
ANECDOTE

Discord's Switch to Rust

  • Discord switched from Go to Rust to improve latency.
  • Garbage collection pauses caused latency spikes, which Rust eliminated, improving user experience.
INSIGHT

Rust's Efficiency

  • Rust rewrites at AWS significantly reduce CPU and memory usage, leading to cost savings and improved performance.
  • Tenable.io saw a 75% CPU and 95% memory reduction after switching to Rust.
ANECDOTE

Lambda Cold Starts

  • Rust consistently outperforms other languages in Lambda cold start performance, often by a factor of 30x.
  • Max Day's analysis shows Rust cold starts at 15ms vs. Java's 400+ms.
Get the Snipd Podcast app to discover more snips from this episode
Get the app