High Performance WebSocket

Wesley Hales (Shape Security)
1:30pm–2:00pm Wednesday, 04/22/2015
HTML5 and CSS3
Location: Salon 8
Average rating: ****.
(4.00, 6 ratings)
Slides:   1-PDF 

THIS SESSION HAS REQUIREMENTS AND INSTRUCTIONS LISTED BELOW

Adding a WebSocket service to an application is often misunderstood to be high performance by default, however there are many more considerations that must be made, both on the client and server, before the best performance can be achieved. Real-time technologies like SPDY, WebSocket, and soon HTTP 2.0 have their own sets of hurdles and anti-patterns to overcome and this talk will provide the checklist you need to fine tune your application’s real-time performance.

In this talk we’ll review where WebSockets fits in the spectrum of real-time technologies and then go over best practices for creating a secure, high performance, real-time application.
We’ll review the following in detail:

  • Using secure WebSocket (WSS) opposed to unsecure (WS)
  • Polyfill performance
  • WS subprotocols and different styles of interacting with WebSocket services.
  • Binary transmissions and optimizations
  • Compression
  • Battery life and optimizing long lived sessions

SESSION REQUIREMENTS AND INSTRUCTIONS FOR ATTENDEES

Basic understanding of HTTP , SPDY and WebSocket protocols. This is not an introductory talk about WebSocket. This goes into detail on how to measure and improve real time applications.

Photo of Wesley Hales

Wesley Hales

Shape Security

Wesley Hales is a Software Developer at Shape Security. He spends his spare time working on two open source projects:  onslyde and Loadreport.js.

You can see him speak at the occasional conference, read his articles, or follow him on twitter @wesleyhales.

Comments on this page are now closed.

Comments

Picture of Wesley Hales
Wesley Hales
04/27/2015 2:04am PDT

Done! Thanks for the reminder!

Picture of Piero Cena
Piero Cena
04/26/2015 5:46pm PDT

Please, could you share your slides here? Thanks in advance