Re: Varnish performance tests

2008-12-08 Thread Tollef Fog Heen
]] "Rebert Luc" 

|  In our studies we have a project which consists in testing the
| performance of Varnish in order to make a comparative with and without
| the proxy cache.
|  Does anyone know which utilities to employ ? (knowing that the aim
| is to justify our tests)

http://www.web-cache.com/benchmarking.html has some pointers.  I've had
interesting numbers come out of polygraph.

-- 
Tollef Fog Heen 
Redpill Linpro -- Changing the game!
t: +47 21 54 41 73
___
varnish-misc mailing list
varnish-misc@projects.linpro.no
http://projects.linpro.no/mailman/listinfo/varnish-misc


Re: Varnish performance tests

2008-12-08 Thread Michael S. Fischer
On Dec 8, 2008, at 9:03 AM, Per Buer wrote:

> Rebert Luc wrote:
>> Hello,
>>
>> In our studies we have a project which consists in testing the
>> performance of Varnish in order to make a comparative with and  
>> without
>> the proxy cache.
>> Does anyone know which utilities to employ ? (knowing that the aim  
>> is to
>> justify our tests)
>
> You could have a look at varnishreplay to "replay" earlier recorded
> varnishlogs. If you also want to synthesize traffic you could also  
> check
> out siege and curl-loader.
>
> If you have a high hitrate in your cache you'll most likely end up
> benchmarking the tools rather then varnish. I think I measured siege  
> to
> be ~3x slower then varnish.

I used httperf with great success.  However, it's only single- 
threaded, so you may want to put a wrapper around it to test request  
concurrencies > 1.

--Michael
___
varnish-misc mailing list
varnish-misc@projects.linpro.no
http://projects.linpro.no/mailman/listinfo/varnish-misc


Re: Varnish performance tests

2008-12-08 Thread Per Buer
Rebert Luc wrote:
> Hello,
> 
> In our studies we have a project which consists in testing the 
> performance of Varnish in order to make a comparative with and without 
> the proxy cache.
> Does anyone know which utilities to employ ? (knowing that the aim is to 
> justify our tests)

You could have a look at varnishreplay to "replay" earlier recorded 
varnishlogs. If you also want to synthesize traffic you could also check 
out siege and curl-loader.

If you have a high hitrate in your cache you'll most likely end up 
benchmarking the tools rather then varnish. I think I measured siege to 
be ~3x slower then varnish.

-- 
Per Buer - Leder Infrastruktur og Drift - Redpill Linpro
Telefon: 21 54 41 21 - Mobil: 958 39 117
http://linpro.no/ | http://redpill.se/
___
varnish-misc mailing list
varnish-misc@projects.linpro.no
http://projects.linpro.no/mailman/listinfo/varnish-misc


Re: How much of the ESI spec is implemented?

2008-12-08 Thread Tollef Fog Heen
]] Kurt Mackey 

First, sorry for taking ages to get back to you.

| So ESI looks interesting, but I can't quite figure out the extent to
| which Varnish supports it.

We just support the simple esi:include, ESI comments and esi:remove, not
anything more at the moment.

| For instance, the ESI expressions look ridiculously useful in
| conjunction with the include tag.  Can you do things like this?
| 
| http://example.com/users/$(COOKIE{username})/$(COOKIE{token})"/>

Yes, it'd be quite useful.

| I'm not good enough to completely understand the source, but it looks like 
that example may not be possible.
| 
| It would be awesome to see expression support and support for the
| choose/when/otherwise tags as well.  Is that the type of thing that
| someone could sponsor for development?

I don't believe we will want to do choose/when/otherwise, but sponsoring
of includes based on cookies is something that would be interesting to
us.  Feel free to get in touch with [EMAIL PROTECTED] about it.

-- 
Tollef Fog Heen 
Redpill Linpro -- Changing the game!
t: +47 21 54 41 73
___
varnish-misc mailing list
varnish-misc@projects.linpro.no
http://projects.linpro.no/mailman/listinfo/varnish-misc


Strange varnish behavior - not answering requests

2008-12-08 Thread Grasmo, Johan
Hi,

We're tired of squid and it's quirks and want to advance into the information 
age with varnish.

I've been testing varnish the last couple of days and it has been behaving 
perfectly until last night. When stresstesting the varnishserver it suddenly 
stopped handling requests. Varnish returns to normal operation after a restart.

Symptom:
Accessing a page on the varnishsserver results in a timeout in the browser

I am able to telnet to the varnishserver on port 80 but a GET doesn't result in 
anything ("hangs").
I am able to telnet to port 6082 and run commands:
[snip]
status
200 22
Child in state running
[/snip]

Varnishlog returns:
[snip]
0 CLI  - Rd ping
0 CLI  - Wr 0 200 PONG 1228307253 1.0
0 CLI  - Rd ping
0 CLI  - Wr 0 200 PONG 1228307256 1.0
0 CLI  - Rd ping
[/snip]

Varnishncsa doesn't return anything.

I've verified with tcpdump that varnish ack's requests.

So "everything seems normal" even though clients get timeout. FF returned 
"Connection Interrupted The document contains no data". If you need any 
logs/configs please let me know :)

I haven't exhausted the search function for the mailinglist so sorry if this 
topic has been an issue before.

I'm running varnish on an Ubuntu 8.04 distro.


Cheers and thanks for replies,

Johan Grasmo
___
varnish-misc mailing list
varnish-misc@projects.linpro.no
http://projects.linpro.no/mailman/listinfo/varnish-misc


Varnish performance tests

2008-12-08 Thread Rebert Luc
 Hello,

 In our studies we have a project which consists in testing the
performance of Varnish in order to make a comparative with and without
the proxy cache.
 Does anyone know which utilities to employ ? (knowing that the aim
is to justify our tests)

 Thanks in advance.

 REBERT Luc & MORTREAU Alexandre

___
varnish-misc mailing list
varnish-misc@projects.linpro.no
http://projects.linpro.no/mailman/listinfo/varnish-misc