~/talk

Garbage Collection in Modern Web Applications

Talkat <React.NotAConf /> 2018 · on Saturday, 2018-04-28· [react]

SoundCloud’s Xbox app uses TypeScript React Redux and implements a custom tracing garbage collector that rebuilds the Redux state by re-running all active selectors and merging their outputs, which cuts retained entities and stops out‑of‑memory kills. The system triggers GC on an interval (practical deployment: runs every five minutes), is a few lines wrapped around connect, reduces memory for long sessions, and requires lean selectors plus agreed merge metadata and careful testing.

AI-written summary · about

  1. 0:00Intro
  2. 3:13Overview
  3. 5:56The Problem
  4. 8:29Reference Counting
  5. 16:03Garbage Collection
  6. 17:28Garbage Collection reducer
  7. 18:38Garbage Collection efficiency
  8. 20:48Summary
  9. 22:15Questions
  10. 22:53Garbage collection during serverside rendering
  11. 27:23Why develop for Xbox
  12. 31:25Preact
  13. 32:05Audience Questions
  14. 34:00Automated Testing
  15. 35:45University Knowledge
  16. 37:50Bazooka
~/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.