~/talk

Allocating Less: Really Thin Rust Cloud Apps

Talkat Cloud Native Rust Day EU 2021 · on Monday, 2021-05-03· at 13:25· Virtual ,· [rust, web-performance]
name:Evan Chan
links:none on file
slides:none on file

Shows concrete memory wins and tools: heap-profiles with dhat, JSON comparisons that cut peak heap by ~30% using json-rust, and a repo with benchmarks. Recommends flatbuffers (no-deserialize paths) to avoid copies, enum_dispatch to remove per-call Box allocations, and cargo-bloat to shrink binaries. Gives measured costs (Arc clone ≈30–120 ns), suggests bumpalo arenas for scoped allocations, and compares jemalloc vs mimalloc for allocator tradeoffs.

AI-written summary · about

  1. 0:00Introduction
  2. 2:56Rust Memory Model
  3. 10:43Reducing Memory
  4. 15:44Using Enum Dispatch
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.