We need to deploy a web socket server on Ubuntu 14.04. We have played with various technologies (Pusher, socket.io) but we require instructions to deploy an internal, high-performance, production-ready system.
This task is to provide instructions intended for use by an experienced Ubuntu sysadmin team of how to deploy such a system. You should assume the Ubuntu server itself, redis and nginx are already production-ready.
- the system should use a redis backend. We envisage that we will use a pub/sub system (the ws system will subscribe to a redis feed, which we will publish to in our app) but this is not mandatory. The use of redis as a "connector" between our main app and the ws system *is* mandatory, however.
- the system should either work via proxy_pass under nginx, or have native SSL support and address CORS issues.
- you should provide advice on hardware configuration and/or kernel parameters if there are any specific setups which will greatly enhance or...