Async Rust in Practice: Performance, Pitfalls, Profiling

First Issue Arises

Reproducing the Problem


cargo flamegraph your-app your-params


scylla = { git = "", branch = "some_custom_branch" }

Root Cause №1

Root Cause №2: a Pitfall in Async Rust

Quadratic Behavior?

The Pitfall

The Solution





The monstrously-fast NoSQL database.

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Backup your home directory to Dropbox with rclone

Developing monitoring system for EV Charging network

V2 Launchpad Incentivized Testnet

width, height values of the text in Flutter

Productivity with Python: From Your Daily Notes to Anki Flash Cards

EKS — Windows with Containerd

The Newest Critical Metric for DevOps

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store


The monstrously-fast NoSQL database.

More from Medium

Consistent Hashing in Rust

Generic Interface for Baremetal Task Management in Rust

Advanced Types in Rust are quite helpful

The Rust logo has some rough nodes · Issue #2 · rust-lang/rust-artwork ·  GitHub

WTF Rust: attribute proc macros