Scaling WebSockets with NGINX

Scaling WebSockets with NGINX

WebSockets protocol is a bidirectional communication protocol and having NGINX proxy and load balance this protocol can be tricky, in this class I discuss the fundamentals of WebSockets and how to scale this protocol with NGINX. 
Agenda
Quick Introduction to WebSockets
Layer 4 vs Layer 7 WebSocket Proxying
Spin up a WebSocket Server without NGINX
Configure NGINX as a Layer 4 WebSocket Proxy/Load Balancer
Configure NGINX as a Layer 7 WebSocket Proxy/Load Balancer
Summary

Leave a Reply