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 architectural complexity and learning curve required. This talk is 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.

What is an event loop? How does it work? How about authentication when using both HTTP and Websocket requests? How do I make my code non-blocking? 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.

Comments

Comments are closed.

A very well paced and light hearted talk. Having worked on a monsterous PHP/Nodejs hybrid application previously, it was a great insight into how that could be simplified to pure PHP with websockets.

Fun and educational talk. Clear pronunciation made it easy to follow.

Rated 5

Jeff Lambert at 19:14 on 17 Feb 2017

absolutely brilliant talk!

I want to use websockets in a customer project now:-)

Fast paced, good information and fun. Perhaps a bit too fast a pace at times, but it might have been Friday afternoon getting to me.