~/talk

Road to .NET 6: migration story of hope and despair

Talkat Dotnetos Conference 2022 · 2022-10-10..10-12· [devops-and-delivery]
links:none on file
slides:none on file

Case study of migrating a high‑load real‑time service from .NET Framework to .NET 5/6 on Linux handling over 200k rps, with concrete fixes and measurements: use of perf profiler and flame graphs, dotnet‑dump and dotnet‑stack to find blocking equals comparisons, replacement of legacy HTTP APIs with HttpClient and HTTP client factory, fixes for DNS resolution and a custom resolver, mitigation of threadpool starvation and port exhaustion, use of Polly then a custom bulkhead policy, nginx and iptables tuning, one machine reaching ~38–39k rps and 50% less electricity.

AI-written summary · about

  1. 0:00Start
  2. 1:41Krzysztof Stolarz
  3. 2:28what
  4. 6:50code migration
  5. 8:22first try
  6. 9:24CPU core utilization
  7. 11:11looking better
  8. 11:32excessive TIME_WAIT
  9. 14:21unstable performance
  10. 26:14#5 HttpClient is tricky
  11. 32:34deadlock 2
  12. 35:28HttpClient still tricky
  13. 42:34Et tu, IHttpClientFactory?
  14. 44:20final results
  15. 44:53lessons learned
~/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.