<div dir="ltr">Hi,<div><br></div><div>We are 'playing' with different architecture options to maximize the usage of Varnish Cache. We currently have 6000 concurrentes users and we are balancing over 4 servers. Each server has a Varnish, (4gb malloc) which consumes a local backend with Apache / Tomcat (another 4gb). Every box is a virtual machine with 8gb RAM and 4 vcpu. </div>
<div><br></div><div>We build it that way because we need PERSISTENT CONNECTIONS to the backend on Varnish bypass. We have strong dynamic functionality.</div><div><br></div><div>We think that having 1 big Varnish (dedicated use) and balance all the connections to the dedicated backends will serves us best. Basically, we will improve varnish caching, reduce the petitions to the database (now we have 4 servers asking the same to the DB) and will also reduce connections and resources on the backend servers. </div>
<div><br></div><div>Questions:</div><div>a) what do you think of each scenario?</div><div>b) it is possible to balance connections persistently to the backend servers?<br clear="all"><div><div dir="ltr"><div><div><p style="font-family:Arial,Verdana,sans-serif;font-size:12px">
</p><p style="font-size:small"></p><div><div>Regards,</div><div><span style="font-size:12px"><address><span style="font-size:small;font-style:normal">Hernán.</span></address></span></div></div><p></p><p></p></div><div><span style="font-size:12px"></span></div>
</div><div><span style="font-size:12px"><address><span style="font-size:small;font-style:normal"><span style="font-family:Arial,Verdana,sans-serif;font-size:12px"></span></span></address></span></div></div></div>
</div></div>