Websockets and Torrents - A match made in PHP
summary
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
chapters (5)
- 0:00Start
- 2:10Websockets and Torrents
- 33:48Problem 3: Blocking!!
- 39:10What about scaling
- 45:22SILVER SPONSOR
related talks
52mWebsockets and Torrents: A match made in PHP
40mIntroduction to ReactPHP and Websockets
43mGetting started with ReactPHP – Pushing Real-Time Data to the Browser
46mGetting started with ReactPHP Pushing real-time data to the browser
46mPushing the limits of PHP with React PHP
33mAn Introduction to Asynchronous PHP using ReactPHP
37mERP on Websockets
36mReal-Time Laravel
