Ben Chuanlong Du's Blog

It is never too late to learn.

Tips on Shuttle for Deploying Rust Apps

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

Shuttle is a Rust-native cloud development platform that lets you deploy your Rust apps for free. Shuttle uses traits and annotations to configure your backend deployment - including databases.

References

Rust Backend Frameworks for Rest APIs

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

axum

axum Ergonomic and modular web framework built with Tokio, Tower, and Hyper axum is a web application framework that focuses on ergonomics and modularity.

Actix

Actix Web is a powerful …

Tips on Raspberry Pi

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

Alternatives

DeskPi

https://www.youtube.com/watch?v=NamRTtMLWxU

https://www.youtube.com/watch?v=6bxjNQi69W0

It seems to me that DeskPi is a better option if you plan to use …

Benchmark a Rust App

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

Tips and Traps

  1. The built-in benchmarking is still unstable and will likely be deprecated.

  2. criterion is currently the best Rust crate for benchmarking.

Criterion

  1. With Rust stable, Criterion can only benchmark …