Thin Rust Cloud Apps


Allocating Less: Really Thin Rust Cloud Apps

Start time: 18:00 CEST

Duration: 1h

Format: webinar

Where: online

Language: English

Price: Free


Evan Chan

Data Architect and Engineer


In this talk I discuss in depth one of the key selling points of Rust for cloud native apps: creating really thin and fast apps or infrastructure layers. To do this, it is important to review and examine the memory allocation choices that we can make in Rust, and how to optimize them and data structures to ensure our Rust apps can reach the ceiling they are capable of.


  • Why use Rust for thin cloud apps?
  • Review memory usage in Rust
  • How to profile Rust apps for memory usage
  • Where to look for memory allocations in Rust apps
  • Improving rust heap usage through better APIs, improving serialization, getting rid of clones, flattening data structures, etc.
  • The effect of switching memory allocators (ie jemalloc) and why you might want to, or not
  • A study of JSON processors: memory usage
  • Different benchmarking stats to use for memory
  • Traits and trait objects: how to avoid allocations and speed up performance (enum-dispatch and friends)

Who it is for

Intermediate, a little part for begginer also


General knowledge about Rust

Material required


Certificate of attendance

A certificate of participation will be issued at the end of the session.

Watch on Youtube

Share on

Follow us on