Processing Power

Per Buer perbu at varnish-software.com
Mon Jan 27 13:45:21 CET 2014


Hi Simon,

With regards to CPU, Varnish doesn't need that much. Typically, you'll have
maybe 5 or 10% CPU utilisation on a modern machine running at 5000 requests
a second.

The memory is completely dependent on the site you are about to cache. Most
websites are pretty small in terms of content size so 96GB should be more
than sufficient to keep most of the website in memory, unless you have
video content. Even then, 96GB is quite a lot.

The bans will add a bit of CPU use to Varnish and might induce a bit of
latency if you'll have a lot of them. The CPU usage is a factor of (no of
bans) x number of objects in cache as every ban will have to be matched
against every object in cache. CPUs are fast, so this might not be as bad
as it sounds.

Per.



On Mon, Jan 27, 2014 at 12:45 PM, Simon Lennon, OnCommerce Ltd. <
simon.lennon at oncommerce.co.uk> wrote:

>  Hi guys, I was wondering what kind of processing power varnish needs. I
> am setting up a dedicated environment with a custom built VCL which
> includes some regexp and the load balancing functionality.
>
> I was going to setup a dual core server with 96GB of ram, is this enough
> for a HIGH traffic site, says 10,000 hits a second with very high cache
> utilization?
>
> I will also be using the ban list to achieve a very high level of caching,
> with a daily restart to flush the archive, but I would expect several
> hundred regex patterns per day in the ban list.
>
> I know varnish is optimized for performance so I wasn't sure how much
> processing power it would need,
>
> thanks,
> --
>
> *Simon Lennon*
> Technical Director
>
> OnCommerce Ltd.
>  +44 (0) 1202 970 940
>
> [image: OnBay | Mr Snaps]
>
>
>
>
>
> [image: oncommerce]
>
> *www.oncommerce.co.uk <http://www.oncommerce.co.uk/> *
>
> [image: Follow Us on Twitter] <https://twitter.com/OnCommerceLtd>[image:
> Find Us On Facebook] <http://www.facebook.com/OnCommerceLtd>[image: Find
> Us On Google+] <https://plus.google.com/110931495978569752116>
>
> [image: onbuy]
>
> *www.onbuy.co.uk <http://www.onbuy.co.uk/> *
>
> [image: Follow Us on Twitter] <https://twitter.com/OnBuy_UK>[image: Find
> Us On Facebook] <https://www.facebook.com/OnBuy.co.uk>[image: Find Us On
> Google+] <https://plus.google.com/105033918753905864428>
>
> [image: onrecycle]
>
> *www.onrecycle.co.uk <http://www.onrecycle.co.uk/> *
>
> [image: Follow Us on Twitter] <https://twitter.com/onrecycleuk>[image:
> Find Us On Facebook] <https://www.facebook.com/OnRecycle>[image: Find Us
> On Google+] <https://plus.google.com/112145148704994295234>
>
>         OnBuy and OnRecycle are trading names of OnCommerce Ltd which is
> a registered company in England & Wales, Company Number: 08358927. Our
> trading address is: C/O Centerprise International, Hampshire International
> Business Park, Lime Tree Way, Basingstoke, Hampshire, RG24 8GQ. OnCommerce
> is a registered trademark no. 2540468.
>
> OnCommerce Ltd is a Centeprise International Group Company.
>
>    This electronic message contains information from OnCommerce Ltd,
> which may be legally privileged and confidential. The information is
> intended to be for the use of the individual(s) or entity named above. If
> you are not the intended recipient, be aware that any disclosure, copying,
> distribution or use of the contents of this information is prohibited. If
> you have received this electronic message in error, please notify us by
> telephone (to the number above) or e-mail immediately. Any views, opinions
> or advice expressed in this electronic message are not necessarily the
> views, opinions or advice of OnCommerce Ltd. It is the responsibility of
> the recipient to ensure that any attachments are virus free and OnCommerce
> Ltd. bear no responsibility for any loss or damage arising in any way from
> the use thereof.
>
>
>
>
>
> _______________________________________________
> varnish-misc mailing list
> varnish-misc at varnish-cache.org
> https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
>



-- 
 <http://www.varnish-software.com/> *Per Buer*
CTO | Varnish Software
Phone: +47 958 39 117 | Skype: per.buer
We Make Websites Fly!

Winner of the Red Herring Top 100 Global Award 2013
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20140127/b3093588/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: onbay_email_oncommerce_logo.png
Type: image/png
Size: 5758 bytes
Desc: not available
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20140127/b3093588/attachment-0008.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: onbay_email_onbuy.png
Type: image/png
Size: 5216 bytes
Desc: not available
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20140127/b3093588/attachment-0009.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: onbay_email_footer_twitter.png
Type: image/png
Size: 3575 bytes
Desc: not available
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20140127/b3093588/attachment-0010.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: onbay_email_footer_facebook.png
Type: image/png
Size: 2802 bytes
Desc: not available
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20140127/b3093588/attachment-0011.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: onbay_email_onrecycle_logo.png
Type: image/png
Size: 6416 bytes
Desc: not available
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20140127/b3093588/attachment-0012.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: onbay_email_senor_pinchy.png
Type: image/png
Size: 4332 bytes
Desc: not available
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20140127/b3093588/attachment-0013.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: onbay_email_footer_google.png
Type: image/png
Size: 2856 bytes
Desc: not available
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20140127/b3093588/attachment-0014.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature2_13.jpg
Type: image/jpeg
Size: 1298 bytes
Desc: not available
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20140127/b3093588/attachment-0002.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature2_12.jpg
Type: image/jpeg
Size: 1244 bytes
Desc: not available
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20140127/b3093588/attachment-0003.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: spacer.gif
Type: image/gif
Size: 13126 bytes
Desc: not available
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20140127/b3093588/attachment-0001.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: onbay_email_centerprise_logo.png
Type: image/png
Size: 9852 bytes
Desc: not available
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20140127/b3093588/attachment-0015.png>


More information about the varnish-misc mailing list