~/talk

Performance Architecture

Talkat Dotnetos Conference 2021 · 2021-10-05..10-06· [engineering-leadership]
slides:none on file

Describes converting a 5+-year .NET codebase to reach orders‑of‑magnitude speedups by changing data layout and memory strategy: replacing JSON parsing with a blittable format to avoid repeated allocations, using memory‑mapped files and an arena allocator to reuse buffers, optimizing routing and string escaping hot paths, and trading some backward compatibility for performance. Benchmarks show millions of requests in seconds and sustained ~50,000 requests/sec on a small Graviton node, and the rebuilt system behaves consistently under load.

AI-written summary · about

  1. 0:00Start
  2. 2:57Timeline of Our Releases
  3. 6:18Memory and Gc Pressure
  4. 6:43Second System Syndrome
  5. 8:02How Can I Be Fast
  6. 23:59Micro Optimizations
  7. 26:02How Do We Change the Actual Architecture
  8. 29:14Pointer Arithmetic
  9. 35:38How the Gc Works
  10. 36:48Arena Allocator
  11. 37:49Live Actions
  12. 41:32Page Cache
  13. 42:49Escape of Strings
  14. 43:52Questions
  15. 47:11What's Your Opinion about Making Garbage Collection in Dot Net Optional and Using Reference Counting or Resource Acquisition
~/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.