~/talk

Simulating Network Conditions with JavaScript

Talkat CityJS Conference 2020 · 2020-09-02..09-04· [networking, nodejs, web-performance]
links:none on file
slides:none on file

Built a containerized TypeScript proxy that uses Deno and the Streams API to insert a transform-stream throttle between a headless-browser runner and a static file server, letting tests inject latency, jitter, 404s or hangs and verify player metrics. A 5‑minute multi-bitrate test asset totals ~5 GB; a demo shows the player estimating 6 Mbps when the proxy is set to 6 Mbps. The throttle is open source as bandwidth-throttle-stream and aims to run thousands of parallel CI simulations.

AI-written summary · about

  1. 0:00Introduction and speaker background
  2. 3:50Why build custom network simulation tools
  3. 7:17Architecture and Docker setup
  4. 10:25Implementing bandwidth throttling
  5. 18:23Proxy request lifecycle
  6. 20:07Demo of the network simulation tool
  7. 23:34Automated testing with JSON configs
  8. 24:58Beyond video playback use cases
  9. 26:22Q&A session
~/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.