~/talk

Websockets and Torrents - A match made in PHP

Talkat phpDay 2018 · 2018-05-11..05-12· [php]
slides:none on file

Builds a working Torrent Web GUI that pushes JSON over WebSockets from PHP, using ReactPHP and Ratchet for an event loop, timers and pub/sub; initial implementation polls a command-line Transmission call every ~2–5s and blocks, so it moves heavy work into workers and a ZeroMQ queue (or RabbitMQ) to avoid blocking, adds per-connection tokens for authentication, demos live updates every two seconds and discusses scaling and pitfalls.

AI-written summary · about

  1. 0:00Start
  2. 2:10Websockets and Torrents
  3. 33:48Problem 3: Blocking!!
  4. 39:10What about scaling
  5. 45:22SILVER SPONSOR
~/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.