Async Rust

Performance Improvements you own this product

This project is part of the liveProject series A Load Test CLI with Async Rust
prerequisites
intermediate Rust
skills learned
performance analysis • profiling • optimization
Marco Amann
1 week · 6-8 hours per week · BEGINNER

pro $24.99 per month

  • access to all Manning books, MEAPs, liveVideos, liveProjects, and audiobooks!
  • share your subscription with another person
  • choose one free eBook per month to keep
  • exclusive 50% discount on all purchases

lite $19.99 per month

  • access to all Manning books, including MEAPs!

team

5, 10 or 20 seats+ for your team - learn more


Look inside

Svalbard Inc.’s customers are reveling in the comfort of the global online store’s Scandinavian furniture. But, for Svalbard, the cost to scale its backend applications is less than comfortable. To ease its pain, the store has begun migrating its legacy mainframes to a more flexible, modern deployment model. Svalbard has already implemented a CLI tool that internal developers and operators can easily configure to their needs. As a Rust programmer, it’s up to you to improve this tool. You’ll track down potential performance bottlenecks with the help of flame graphs, then implement solutions to tackle them using hyper. You’ll verify the performance improvements, then create a tool for guarding against regressions with the Criterion suite. When you’re done, you’ll be comfortable evaluating and improving an asynchronous Rust application.

This project is designed for learning purposes and is not a complete, production-ready application or solution.

book resources

When you start your liveProject, you get full access to the following books for 90 days.

project author

Marco Amann

Marco Amann is a software engineer at AxonIQ where he develops robust distributed systems. He has leveraged Rust in both professional and personal endeavors to build applications spanning a wide range of areas. He has co-authored a German language book about Rust, and spoken at workshops and conferences on topics such as embedded Rust on an STM32 and making APIs safer by adhering to rules about borrowing. Visit his blog at amann.dev.

prerequisites

This liveProject is for Rust programmers who are familiar with Rust syntax and its ownership system and who want to write reliable, efficient code. To begin these liveProjects you’ll need to be familiar with the following:

TOOLS
  • intermediate Rust
  • Cargo
  • CLIs
  • Your favorite IDE or editor
TECHNIQUES
  • Basic knowledge of memory management
  • Basic knowledge of how the stack and the heap work

you will learn

In this liveProject, you’ll learn to evaluate and improve an asynchronous Rust application using tools in Rust's rich ecosystem.

  • Approach the same problem from multiple angles to ensure no false assumptions are made
  • Measure the performance of Rust applications
  • Analyze the runtime behavior of Rust applications
  • Use statistical benchmarking to ensure your proposed changes have the desired effect and that future changes do not introduce performance regressions

features

Self-paced
You choose the schedule and decide how much time to invest as you build your project.
Project roadmap
Each project is divided into several achievable steps.
Get Help
While within the liveProject platform, get help from other participants and our expert mentors.
Compare with others
For each step, compare your deliverable to the solutions by the author and other participants.
book resources
Get full access to select books for 90 days. Permanent access to excerpts from Manning products are also included, as well as references to other resources.

choose your plan

team

monthly
annual
$49.99
$499.99
only $41.67 per month
  • five seats for your team
  • access to all Manning books, MEAPs, liveVideos, liveProjects, and audiobooks!
  • choose another free product every time you renew
  • choose twelve free products per year
  • exclusive 50% discount on all purchases
  • Performance Improvements project for free