Optimize for the Cloud – Lightning-speed .NET Container Apps
summary
Demonstrates concrete steps: enable Profile Guided Optimization (dynamic PGO in .NET 7, default in .NET 8) to get ~10–15% faster hot paths; use ready-to-run / crossgen2 and embedded PGO to cut cold-starts; apply trimming and Native AOT to shrink self-contained images from ~68MB to ~3–13MB and produce single-file binaries with sub-second startup. Shows building a minimal web API and a native shared library callable from C, both working end-to-end in demos.
AI-written summary · about
chapters (12)
- 0:00Optimization goals
- 2:24Performance fundamentals
- 7:24JIT and compilation
- 13:09Profile-guided optimization
- 17:32PGO demo and analysis
- 26:03Application trimming
- 30:26Trimming in practice
- 37:16Native AOT compilation
- 41:31Native AOT performance demo
- 44:22API and AOT integration
- 48:04Native AOT library interop
- 57:59Final recommendations
related talks
01h 01m.NET and Containers - each layer of abstraction indistinguishable from magic
01h 03m.NET in a Box: Containerizing .NET Applications
29mA .NET application's journey on AWS
35mOptimizing Containers for Security and Scaling
41mBuild apps for Billions
53mProfiling and Debugging .NET Core Apps on Linux.
58mEnhancing Java Applications for the Cloud
21mLightning Talks
