Hello everyone,
I have managed to get the HAProxy to work correctly with WebSockets in RoundRobin mode. The fact is this:
1) Let's suppose I have three containers/servers that save their logs in different folders in the host system and a shared among them folder in the host system where they save some data. For the shake of brevity let's call this folder "Data".
2) If I create a picture from one of them and then save it in "Data", when I will try to update this picture in the page, it will proceed to the next "server" to load it. This is no problem if we are talking about one server with lots of same "containers/servers" but if we are talking about more than one then it will be a mess as it will save it in the first server's Shared Folder and it will proceed to the next server and will look in the shared folder there to load it.
Is it possible to "lock" the client to the first aproached server in round robin?
I have managed to get the HAProxy to work correctly with WebSockets in RoundRobin mode. The fact is this:
1) Let's suppose I have three containers/servers that save their logs in different folders in the host system and a shared among them folder in the host system where they save some data. For the shake of brevity let's call this folder "Data".
2) If I create a picture from one of them and then save it in "Data", when I will try to update this picture in the page, it will proceed to the next "server" to load it. This is no problem if we are talking about one server with lots of same "containers/servers" but if we are talking about more than one then it will be a mess as it will save it in the first server's Shared Folder and it will proceed to the next server and will look in the shared folder there to load it.
Is it possible to "lock" the client to the first aproached server in round robin?
Last edited: