~/talk

Garbage collection in modern web applications

Talkat FrontEnd Con 2018 · 2018-12-04..12-05· [javascript, web-performance]
slides:none on file

SoundCloud builds a tracing garbage collector on top of React + Redux (TypeScript, Electron/Xbox) that tracks live selector functions, exposes a drop-in gcConnect, and frees memory by running selectors to rebuild state into a fresh normalized store instead of mutating or nulling entities. The system turns many duplicate entities (ten tracks → six tracked entities) into a compact graph, avoids component rerenders because object references stay intact, and proves effective at stopping long‑running memory growth while trading extra selector evaluations.

AI-written summary · about

  1. 0:00Start
  2. 8:58How do you free memory in JavaScript?
  3. 21:59Efficiency
  4. 23:10Disadvantages
  5. 24:09Disclaimer
~/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.