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
Wesley Hales is a developer, author, entrepreneur and serial open source project creator from the cow pastures of North Georgia. He founded and leads the second largest HTML5 User Group in the world and has been involved in UI and User Experience roles for over a decade in both startup and enterprise environments.
More About Wesley »