~/talk

High Performance Architecture

links:none on file
slides:none on file

Demonstrates that call-return APIs cause O(depth × width) temporary allocations (example: object description recursion that quickly exhausts memory and forces swapping), and shows two fixes: replace return-value composition with pipe and filter style writers (write into a provided buffer to eliminate copies), and redesign a GTFS importer by bit-packing times into 32-bit records, using bucket sort and mmap for zero-copy reads. Result: 22 minutes → <1 second import, 0.5 s queries → 58 µs (≈8,000×), 130 MB CSV → 12 MB binary.

AI-written summary · about

  1. 0:00Introduction and background
  2. 1:29Performance and architecture overview
  3. 6:10Call return architectural style
  4. 14:29Layering and hexagonal architecture
  5. 25:11Key takeaways and conclusion
~/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.