Our great sponsors
-
flamegraph
Easy flamegraphs for Rust projects and everything else, without Perl or pipes <3 (by flamegraph-rs)
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
I've built a simple Rust rest api using [axum](https://github.com/tokio-rs/axum) that interfaces with with a C++ library via bindings that I've also written in Rust. I've been very careful while writing it and consulted the bind-gen channel on the Rust discord for advice and assistance. I've noticed the memory consumption of the service gradually increase from a menial 15mb to over 120mb in a series of 11 days.
I had some nice insights using FlameGraph that relies on Linux perf. There is a Rust version here.