Varnish stress test

Jerome Renard jerome.renard at gmail.com
Sun Sep 26 11:03:42 CEST 2010


Hi Hitendra,

On Sun, Sep 26, 2010 at 9:38 AM, Hitendra Molleti
<hitendra.molleti at itp.com> wrote:
>
> Hi,
>
>
>
> Not sure if anyone here can help me with this.
>
>
>
> But we now have fully developed our website with Java using Varnish in the frontend while Tomcat serving from the backend.
>
>
>
> Now, I am looking to run a stress test for the website to relaunch. There are so many tools online available and not sure which is a good tool to use for stress testing the website.

How about trying jmeter (http://jakarta.apache.org/jmeter/) or
FunkLoad (http://funkload.nuxeo.org/) ?

>
>
>
> Also, if someone can give us an idea of any final optimizations that can be done at a Varnish level to speed up the delivery of a page. We use cookies hence, can only cache certain widgets on the page.

You can try to setup a per user cache if you want :

sub vcl_hash {
    set req.hash += req.http.cookie;
}

Ref :
- http://www.varnish-cache.org/trac/wiki/VCLExampleCacheCookies
- http://www.varnish-cache.org/trac/wiki/VCLExampleCachingLoggedInUsers

'Hope that helps,

--
Jérôme Renard
http://39web.fr | http://jrenard.info | http://twitter.com/jeromerenard




More information about the varnish-misc mailing list