~/talk

Speeding up Go by designing the app with CPU architecture in mind ☠️

TalkinRussianat HighLoad++ 2024 · 2024-12-02..12-03· [go]
links:none on file
slides:none on file

Explains how CPU memory and cache behavior affects Go application performance and shows techniques to design Go programs with CPU architecture in mind. Covers concepts of mechanical sympathy (cache usage, memory access patterns) and practical approaches in Go to structure data and code for better cache locality and reduced contention.

AI-written summary · about

  1. 0:00Introduction
  2. 1:10Structures and performance
  3. 5:11CPU cache hierarchy
  4. 9:02Cache lines and locality
  5. 13:40Linked lists vs arrays
  6. 17:17Structure alignment
  7. 21:37Refactoring structures
  8. 24:51Example with gozstd
  9. 26:59False sharing problem
  10. 31:15Q&A
~/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.