~/talk

Making it faster

Talkat Build Stuff 2021 · 2021-11-17..11-19· [web-performance]
links:none on file
slides:none on file

Investigation shows a site that used to be fast now has random requests issuing 70+ SQL queries and a 1.5s homepage where 45% of time is spent in a recursive resolve step that triggers cache cleanup. The team collects ETW traces with PerfView/ETW, grabs memory snapshots, extracts in-process cache contents, and runs Benchmark.NET on real exported data. Root cause is a null-object pattern plus obfuscated code putting bad IDs into cache; targeted fix and validated microbenchmarks reduce latency without scaling servers.

AI-written summary · about

  1. 0:00Start
  2. 13:03Latency analysis
  3. 16:27Dynamic profiling shows what is happening inside the process
  4. 32:53Crime scene - done. What does it take to write fast code?
  5. 34:03Understand the technology limits
  6. 35:40Most important part
  7. 35:55Maintainable modularity
~/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.