by otterley · 14y ago · 0 comments
For now, Java-based servers (using netty) and node.js may be a better idea.
As for the handling of the websockets, setting the pipe_timeout variable in the vcl file would release any persistent, yet silent, connections.
The question is, how could I set up multiple servers on the same port? Or what else do I need to put in front of Varnish to route WebSocket connections elsewhere?
I'm starting to think this use case is not easy to solve under one IP address.
https://www.varnish-cache.org/docs/trunk/tutorial/websockets...
There are reasons to do either but I've not come up with a definitive reason to go one way or another.
No need for Varnish for proxying your websockets.