About choosing the right instance type for Varnish in AmazonEC2

Jason Price japrice at gmail.com
Sat Mar 11 19:44:50 CET 2017

In my experience, the R3/R4 family works best for Varnish.  Varnish isn't
great at spreading the load across multiple cores, but it will fully
utilize all the ram you give it.

I like to run an ASG of size 2 as the front door to the side.  This
maximizes availability, and keeps cache fragmentation to a minimum, and
protects you from most AZ issues and single instance hardware issues.


On Fri, Mar 10, 2017 at 5:05 PM, Dridi Boukelmoune <dridi at varni.sh> wrote:

> On Fri, Mar 10, 2017 at 9:16 PM, Craig Servin
> <cservin-varnish at cromagnon.com> wrote:
> > We found that we run into the network IO limits before we had CPU issues.
> > You have to use trial and error to figure out how much IO you can get
> from
> > each instance type as we couldn't find good documentation defining that.
> > However it seemed that the network limit goes up as you step up machine
> > sizes in each family.
> CPU usage tends to grow with features like compression or ESI, VMODs
> may also burn cycles depending on their purpose.
> Dridi
> _______________________________________________
> varnish-misc mailing list
> varnish-misc at varnish-cache.org
> https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20170311/297bbce7/attachment.html>

More information about the varnish-misc mailing list