lyarick2: anyone have advice for a load-balanced dns config?
Specifically, I have an elasticsearch cluster, instead of selecting nodes at random on the clients, would like to have then connect to head and get redirected
i've done similar with HAProxy — just curious if there are better ways
although I think ES might do it automagically, so I guess I should look that up…
mercutio: haproxy is probably not a terrible way to go
mjp_: redirected based on what criteria?
***: nclee has quit IRC (Ping timeout: 256 seconds)
ncleex2 has joined #arpnetworks
mercutio: he said load, so i suspect based on load average or average time to complete requests or such
but i suppose it could just be round-robin or such
dns based load balancers aren't very good at balancing normally.
lyarick2: mostly failover
mercutio: relayd on openbsd works easy for failover.
lyarick2: I read up on it, ES does all the internal routing for the request to optimize the queries
mercutio: but haproxy is likely to have higher performance.
lyarick2: higher performance how?
one thing is the cluster/clients are on the same network, so there's some advantage to spreading the network traffic too
mercutio: well relayd isn't really optimised for performance.
depending on level of complexity you want there are multiple ways to go for configuration.
like the most complicated load balancing way is to just route traffic to the right server who then bypasses the load balancer to send traffic out to the net.
but that is also the most complicated
i've never had performance issues load balancing at layer 7 though
lyarick2: Yeah this wouldn't be internet facing
mercutio: http://blog.haproxy.com/2011/07/29/layer-4-load-balancing-direct-server-return-mode/
lyarick2: originally we are co-locating with a mapreduce type setup
mercutio: that's the complicated high performance way.
lyarick2: but ES doesn't like that at all, it wants the machines to itself
ok great, thanks for the link
so anyway, connecting to $(/bin/hostname) isn't going to work anymore ;-)
mercutio: it's curious that whatsapp is going free
***: up_the_irons has quit IRC (Ping timeout: 250 seconds)
up_the_irons has joined #arpnetworks
ChanServ sets mode: +o up_the_irons
up_the_irons: mercutio: wasn't whatsapp always free? I never had to pay
mercutio: nah it was $1 or something
not a lot
but it was free for a year, i got a message saying that it was extended.
up_the_irons: i
i c
mercutio: it maybe because you were early user?
https://www.whatsapp.com/faq/en/iphone/30060258
they haven't updated their web page it looks like, but it seems that some users had to pay $0.99 to download it and got it for free after, and others paid $0.99/year after first year free.
up_the_irons: ah ok
***: lyarick2 has quit IRC (Quit: Leaving.)