~/talk

Optimizing for the Cloud – Lightning-speed .NET Container Apps

Talkat Global Azure Austria 2023 · on Friday, 2023-05-12· [dotnet]
links:none on file
slides:none on file

Shows how to cut cold starts and image size using concrete tools and numbers: enabling Profile Guided Optimization (PGO) (dynamic/tier-PGO flag) reduces first-request and hot-path latency, Crossgen2 + ready-to-run lowers JIT work, trimming drops a self-contained exe from ~66 MB to ~11 MB, and Native AOT can produce ~9 MB binaries with near-instant startup. Covers demoed build steps, how traces create MIBC profiles, reflection and trimming pitfalls, required native toolchains, and which .NET versions support each feature.

AI-written summary · about

  1. 0:00Introduction and welcome
  2. 1:58Optimizing .NET in the cloud
  3. 3:06Container size and resource efficiency
  4. 5:52Throughput optimization fundamentals
  5. 7:59Garbage collection and threading
  6. 9:46ReadyToRun compilation
  7. 11:54Profile-guided optimization
  8. 15:31Demo: Dynamic PGO in action
  9. 22:21Trimming for smaller apps
  10. 26:20Preparing libraries for trimming
  11. 27:05Demo: Trimming a plugin app
  12. 31:25Native AOT compilation
  13. 34:16Demo: AOT with minimal APIs
  14. 39:48AOT for native libraries
  15. 43:06Key takeaways and Q&A
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.