LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Looking TCP loadbalancing Solution that can Adhere to DNS TTLs on Backends (https://www.linuxquestions.org/questions/linux-newbie-8/looking-tcp-loadbalancing-solution-that-can-adhere-to-dns-ttls-on-backends-896333/)

helptonewbie 08-09-2011 06:42 AM

Looking TCP loadbalancing Solution that can Adhere to DNS TTLs on Backends
 
Hi All,

I'm looking for something that is as good as haproxy for load balancing TCP which can register failures and failover etc.

But backend servers will be listed with a DNS name which needs to be re-resolved every so often. HAproxy from what I understand isn't able to do this without being restarted so I'm looking for another solution that's able to re-resolve the backend hostname every so often either specified by config file TTL or by adhering to correct DNS TTLs and thus not getting stuck on using one IP as the IP behind the hostname changes quite often and a lot thus need to find a solution to this problem.

Things that won't work -
Pound as not really a tcp load balancer.
nginx - I just don't want to use it seem like wrong tool for job to me, same basis with Apache as well and mod proxy type stuff
Varnish - same problem as haproxy
Balance - just tested and seems to keep the Same IP DNS resolved to on start-up of balance

I've been looking more at crossroads, Zen load balancer, LVS - Overkill maybe? Don't care if something gets the job done

Advantage - if the tool has some method of getting statistical data from it about whats its processing etc like haproxy has

Update:- OK - I've now just installed and got Crossroads running. It seems to work nicely with DNS (whether its resolving DNS for every single client connection, which i think it might be and will add latency thats annoying but at least its something that will work). What are peoples thoughts and feelings on crossroads? Its not something i've heard of before...

Thanks,
M

kbp 08-10-2011 05:46 PM

I like it .. used it for email load balancing, the stats were ok for my requirements.


All times are GMT -5. The time now is 09:16 AM.