Profiling async applications in Rust
February 09, 2024
31 min
Free
Description
This talk, presented by Vali Brki from JetBrains at RustConf 2023, addresses the challenges and techniques for profiling asynchronous applications in Rust. The speaker highlights the low adoption of profiling tools among developers and argues for their necessity in proving Rust's performance claims. The presentation covers traditional sampling profilers and their limitations with async code, introducing tracing-based approaches like `diagnosing_futures` and `tokio-console` as more suitable for asynchronous applications. It also discusses integrating tracing data with OpenTelemetry for later analysis, emphasizing the importance of realistic load generation and remote development environments for effective profiling.