Websockets and Torrents - A match made in PHP

James Mallison (12.May.2018 at 14:30, 1 hr )
Talk at phpDay 2018 (English - UK)

Rating: 4 of 5

Websockets are a technology allowing bi-directional communication between the server and the client and are not often the topic of focus when it comes to writing standard web applications due to their complexity and learning curve required. In this talk will will discuss event loops and event driven programming and end with a distributed messaging architecture that will work in enterprise. This talk is also the story of my first real project involving sending torrent data from the server to the browser so I could build my own Torrent Web GUI. You will see fully working code and a live example. What is an event loop and how does it work? How about authentication when using both HTTP and Websocket requests? How do I make my code non-blocking? How about the overall architecture? These are some of the topics covered from both a theoretical and a practical standpoint. I also talk about security and privacy and how not to get caught when setting up a server designed solely for streaming Ubuntu downloads. Going out of the talk, you will know how to architect a realtime, distributed application with PHP.

Who are you?

Claim talk

Talk claims have been moved to the new Joind.in site.

Please login to the new site to claim your talk

Comments closed.


Rating: 4 of 5

12.May.2018 at 18:29 by Samuele Lilli (82 comments) via Web2 LIVE

Really nice talk with a lot of interesting real implementation cases. Just one note: James was speaking really fast and sometimes reading the code and following him was a little bit difficult.

Rating: 4 of 5

12.May.2018 at 20:39 by dParadiz (46 comments) via Web2 LIVE

Websockets should have better support in PHP. Regarding the talk, it was funny and interesting but less code would make it better.

Rating: 5 of 5

12.May.2018 at 22:31 by Ani Sinanaj (10 comments) via Web2 LIVE

The presentation was funny and in the end the technology was explained well enough, through real code examples.

Rating: 4 of 5

25.May.2018 at 11:08 by Luca Pattarini (18 comments) via Web2 LIVE

Very interesting despite the speed-of-light speech. I just hoped more in depth torrent wide talk rather than almost completely on websockets. Anyway, thank you!

© Joind.in 2019