Hi,
Greetings, This Is Viswanath. I recently started using the HAProxy for balancing the load among my set of available servers. I have described my query in the following scenario. I have configured HAProxy to balance the load for TCP among my available Nodes and the configuration content is as follows global ulimit-n 10000 debug defaults balance roundrobin retries 1 listen haserver_tcp 127.0.0.1:9000 mode tcp option tcpka clitimeout 150s contimeout 30s srvtimeout 30s server node1 server1:9198 check inter 10s backup server node2 server2:9198 check inter 10s server node3 server3:9198 check inter 10s With the above mentioned configuration I am able to achieve the basic load balancing. But when my TCP Client created a single connection and sends a long message, say greater than 8k bytes, in a small chunks of 512 bytes at a time (assuming 512 bytes makes a business oriented logical interpretable message), and finally after sending 16 * 512 bytes of message, my client closes the connection. For every message (512 bytes), my server performs an operation based on the message. And now, when my TCP Client is sending the nth message (say 10th of 16), the server comes down after performing 9 messages successfully, and the TCP Client still sends the 10th message till 16th. And these are not reaching the server. As all the 16 messages are sent on the same connection (Connection is made only once in the TCP Client), the HAProxy is not re routing the remaining message to another node. Is this scenario achievable through HAProxy? And my next query is that, as I mentioned that my Client creates only one Connection and sends Business oriented logical messages, for the rest of the life time of the client, and can that traffic be load balanced? Eagerly waiting for your reply with comments and solutions if applicable. Thanks and kind regards Viswanath R Associate Software Engineer Misys Software Solutions Solutions for Banking, India T +91 80 4040 3484 E viswanat...@misys.com www.misys.com "Misys" is the trade name for Misys plc (registered in England and Wales). Registration Number: 01360027. Registered office: One Kingdom Street, London W2 6BL, United Kingdom. For a list of Misys group operating companies please go to http://www.misys.com/corp/About_Us/misys_operating_companies.html. This email and any attachments have been scanned for known viruses using multiple scanners. This email message is intended for the named recipient only. It may be privileged and/or confidential. If you are not the named recipient of this email please notify us immediately and do not copy it or use it for any purpose, nor disclose its contents to any other person. This email does not constitute the commencement of legal relations between you and Misys plc. Please refer to the executed contract between you and the relevant member of the Misys group for the identity of the contracting party with which you are dealing.