Software Engineering Radio - the podcast for professional software developers

SE Radio 672: Luca Palmieri on Rust In Production

25 snips
Jun 12, 2025
Luca Palmieri, an expert in back-end development and author of 'Zero to Production in Rust,' dives into deploying Rust in real-world applications. He explores the challenges of writing robust Rust code, focusing on error handling, performance metrics, and optimizing development efficiency. Key topics include using Docker for lightweight deployments, enhancing compilation speed, and maintaining security in Rust applications. Palmieri also discusses structured logging, telemetry options, and the importance of Rust's async I/O model in boosting application performance.
Ask episode
AI Snips
Chapters
Books
Transcript
Episode notes
INSIGHT

Rust Production Code Basics

  • Rust production code shares core operational needs with any language: reliability, observability, and recoverability.
  • Rust-specific challenge lies in achieving these goals using its language and ecosystem tools.
ADVICE

Optimizing Rust Docker Images

  • Use multi-stage Docker builds with a Rust compiler stage and a minimal runtime base image.
  • Choose base image like Debian slim or scratch, ensuring needed system deps like OpenSSL are included.
INSIGHT

Rust Compilation Profiles

  • Release profile optimizes runtime speed and binary size at cost of slower compilation.
  • Additional tuning like link time and profile-guided optimization can boost performance further.
Get the Snipd Podcast app to discover more snips from this episode
Get the app