Quantcast
Channel: HAProxy community - Latest topics
Viewing all articles
Browse latest Browse all 4714

Is HAProxy generally connection-based or message-based?

$
0
0

@deltamind106 wrote:

I’m having a little trouble figuring exactly how HAProxy works-- this is probably such a simple newbie question, but I can’t really find the answer easily in the docs.

Suppose HAProxy is configured for round-robin load balancing. If a client makes a connection to HAProxy, and then that client sends HTTP request #1. HAProxy routes the message to a selected backend server, and the server responds with response #1. Now let’s say the client keeps the connection open (does not close the socket), and then sends HTTP request #2 on the same socket. The question is, since it is the same socket connection, will HAProxy send it to the same backend server as request #1? Or, will it move to the next round-robin backend server for each subsequent request on the same socket connection?

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 4714

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>