About choosing the right instance type for Varnish in AmazonEC2

Paul Krischer paul at krischer.nl
Fri Mar 10 12:02:33 CET 2017


Hi Jordi,

It's hard to make this determination without any data on the traffic your
site is receiving and what peak traffic you're expecting.Varnish will
surely perform better on an instance with multiple CPUs and that's why we
generally standardize on c3.large instances as the initial size for our
Varnish instances. You will have to determine if that's an economical
choice for you.

Paul K

On Fri, Mar 10, 2017 at 10:58 AM, Jordi Llach <jllach at agilecontents.com>
wrote:

> Hi guys,
> any suggestion choosing an Amazon EC2 instance type for Varnish ?
>
> I stumbled upon this doubt/question because we are currently using
> "m3.medium" which only has 1 CPU and as stated in the docs Varnish assumes
> at least 2 CPU
>
> https://varnish-cache.org/docs/4.1/reference/varnishd.html#thread-pools
>
> The performance feeling that we have is exactly the one cited in the docs
> "...more than one pool for each CPU is most likely detrimental to
> performance"
>
> Should I decrease this value to 1 or better use another instance type.
> In the latter we could upgrade to m3.large(same kind of instance type but
> with 2 CPU) or switch to other types : more CPU optimized and less RAM
> optimized (c3.large or c4.large)
>
> Any experience/suggestion will be highly appreciated
>
> Thanks
>
> Jordi
>
> _______________________________________________
> 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/20170310/ee4980a2/attachment.html>


More information about the varnish-misc mailing list