Hi Simone, > AsyncProxyServlet handles HTTP only. > > You would need to write a WebSocket proxy, which we have not done in Jetty. > The idea would be to use a standard WebSocket endpoint on the server; > when that endpoint starts receiving WebSocket frames, you will use a > WebSocket client to forward them to the right backend.
all fine. I found this one [1] (and related files), that seems to implement this already. Do you know if there is already some work / plans on WebSocket proxy support for Jetty? > What you describe is basically a simple load balancer. > > As such an alternative solution could be using HAProxy. > If choosing the backend is done with a simple logic, perhaps it's a > better solution. Will have a look at, thank you. Best regards, Markus [1] https://github.com/chipster/chipster-web-server/blob/master/src/main/java/fi/csc/chipster/proxy/WebSocketProxyServlet.java _______________________________________________ jetty-users mailing list [email protected] To change your delivery options, retrieve your password, or unsubscribe from this list, visit https://dev.eclipse.org/mailman/listinfo/jetty-users
