~/talk

Why your ASP.NET Core application won't scale

Talkat NDC London 2019 · 2019-01-30..02-01· [dotnet]
slides:none on file

Practical drill-down on why ASP.NET Core apps stop scaling: concrete demos show a sync-over-async pattern causing thread-pool starvation (30 concurrent requests turn into one RPS because each request blocks five seconds), timer/disposal leaks that accumulate timers in the queue, large-object-heap and gigabyte allocations from buffering, and forgotten disposals (HttpClient, file handles) causing port and handle exhaustion. Tools used are PerfView and dotnet-dump plus Visual Studio dumps and a load tool (Bombardier). Fixes demonstrated: avoid blocking thread-pool threads, use cancellation tokens, flush/Dispose streams, and bound or size-limit caches.

AI-written summary · about

  1. 0:00Intro
  2. 0:30Do you build ratifications
  3. 1:11What is scale
  4. 1:48Two kinds of scaling
  5. 2:31What is your app scale
  6. 3:47What effects skill
  7. 6:14Shared resources
  8. 8:00Async programming
  9. 8:57Testing before production
  10. 10:30The cycle
  11. 11:05CPU skill
  12. 11:19Load testing vs stress testing
  13. 13:07Checklist for scalability
  14. 15:29IO usage
  15. 16:08Sinking
  16. 17:18Sync over a sink
  17. 19:16Threads super high
  18. 20:08Demo
  19. 22:38Debugging
  20. 24:09Visual debugging
  21. 25:38Get a dump from a process
  22. 28:00Debugging a heap
  23. 32:12Debugging in time
  24. 32:48Threads
  25. 34:01Lock
  26. 35:14Concurrency
  27. 38:14Demonstration
  28. 45:48Object graph
  29. 47:04MVC
  30. 52:46Timers
  31. 54:21Testing
  32. 56:06The fix
~/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.