<div dir="ltr"><div dir="ltr" style="font-family:arial,sans-serif;font-size:13px">Hi John, <div><br></div><div>Thank you very much for you quick response. To be honest I don't have a measure right now of how many connections produces this 6000 concurrent users. I will measure it on the next rush hour. Currently, is distributed along 4 servers. On average, each servers has 1000 connections. </div>
<div><br></div><div>a) we know that, we are think on an identical box to maybe balance it or have it as spare</div><div>b) we need that each users are consistently served from the same backend server. If not, they will appear logged in on 1 server but not the others. </div>
<div><br></div><div>Bottom line, do you think 1 Varnish balancing against 3 backends is best than having 4 varnish balancing 1 to 1 with a backend?</div></div><div class="gmail_extra" style="font-family:arial,sans-serif;font-size:13px">
<div><div dir="ltr"><p style="font-family:Arial,Verdana,sans-serif;font-size:12px"></p><p style="font-size:small"></p><div><div>Saludos,</div><div><span style="font-size:12px"><address><span style="font-size:small;font-style:normal">Hernán.</span></address></span></div>
</div></div></div></div><div class="gmail_extra"><br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="gmail_extra"><div><div class="h5">
<div class="gmail_quote">On Thu, Feb 20, 2014 at 10:58 AM, John Cihocki <span dir="ltr"><<a href="mailto:john@startupgiraffe.com" target="_blank">john@startupgiraffe.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div dir="ltr"><div>How many concurrent client connections do those 6000 concurrent users generate? You'll need to make sure you have enough available worker threads to accommodate those users plus extra to soak up traffic spikes, ideally.<br>


</div><div><br></div><div>a) One thing to consider with a single instance architecture is the lack of redundancy. If that host goes down, your site is down. </div><div class="gmail_extra">b) Do you mean have persistent client connections to backend, like websockets? Or have varnish make backend requests through persistent connections. The former is possible, the latter is the default behavior as I understand it -- Varnish will always attempt to reuse an existing connection for the next backend request.<br>


<br><div class="gmail_quote"><br></div></div></div>
</blockquote></div><br></div></div></div>
</blockquote></div><br></div></div>