Hi,

Using HAProxy, your flow will look like below:

client sends a event to Haproxy
haproxy recieves event, it selects the server from pool
haproxy will submit the event
haproxy will get response from server
haproxy will send response back to client
haproxy will wait for another event from same client
  [ repeat the sequence as many time as needed ]
  { if a timeout client or server occurs, HAProxy closes both connections }
client closes the connection to haproxy
haproxy closes connection to server
server acknoledge connection close to haproxy
haproxy acknoledge connection close to client

In TCP mode, haproxy never closes a connection unless a timeout occurs.

cheers


On Wed, Jan 25, 2012 at 7:42 AM, Rajiv <[email protected]> wrote:
> hi experts
>
> I need your help to arrive on right set of config file for tcp relay
> here under my requirements are
>
> * I need a TCP relay proxy with failover feature
>
> * connection between client and HAproxy should be dedicated
>     (because i want to     get event send response
>                 get event send response, so on so forth
>
> * connection between server and HAproxy should not be dedicated
>     (because i want to submit event recieve response and close the
> connection
>
>
> here is the complete flow
>
> client sends a event to Haproxy
> haproxy recieves event
>     it selects the server from pool
> haproxy will submit the event
> haproxy will get response from server then close the connection with server
> haproxy will send response back to client
> haproxy will wait for another event from same client
>
> Regards,
> Rajiv

Reply via email to