<div dir="ltr">Hi Ed<div><div><br></div><div>We make heavy use of HAProxy, although not for that exact use case.</div><div><br></div><div>HAProxy can be configure to listen on a separate socket which you can use to interrogate/control it. So, I think you could write a script to monitor whatever conditions you like, and send commands to HAProxy to tell it how to route traffic, on the fly.</div>

<div><br></div><div>The socket protocol looks really simple;</div><div><br></div><div><a href="http://cbonte.github.io/haproxy-dconv/configuration-1.5.html#9.2">http://cbonte.github.io/haproxy-dconv/configuration-1.5.html#9.2</a><br>
</div></div><div><br></div><div>Aside from that, HAProxy is extremely fast, very robust and pretty simple to configure. I'd definitely recommend it.</div><div><br></div><div>Hope this helps</div><div><br></div><div>David</div>
<div class="gmail_extra"><br><br><div class="gmail_quote">On 4 March 2014 14:29, Ed James (Alt) <span dir="ltr"><<a href="mailto:ed.james.spam@gmail.com" target="_blank">ed.james.spam@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
                <div>
                    Hi all
                </div><div><br></div><div>We make heavy use of AWS services and we are finding that ELB is not quite meeting our needs. ELB allows some level of control over traffic, but it’s dumb in the sense that it’s done purely on load. You cannot put any real logic into ELB. What we want is to direct a user’s requests based on an application setting - this could be in the db, memcache, redis, whatever. The retrieval of the setting is another problem I think. It’s the logic around that setting's value that I’m interested in.</div>

<div><br></div><div>We are doing a large upgrade of our platform and we want to run both the new version and old version in production in parallel. We want to control which customers get to see the new version and slowly increase the number of customer who can. If there is a problem we can just send all traffic back to the old version in an instant. This could just as easily apply to large feature deployments.</div>

<div><br></div><div>Does anyone have any experience with this kind of use-case?</div><div><br></div><div>Thanks,</div><div>Ed.</div>
            <br>_______________________________________________<br>
Chat mailing list<br>
<a href="mailto:Chat@lists.lrug.org" target="_blank">Chat@lists.lrug.org</a><br>
<a href="http://lists.lrug.org/listinfo.cgi/chat-lrug.org" target="_blank">http://lists.lrug.org/listinfo.cgi/chat-lrug.org</a><br>
<br></blockquote></div><br></div></div>