Varnish use for purely binary files
Poul-Henning Kamp
phk at phk.freebsd.dk
Tue Jan 19 00:44:43 CET 2010
In message <4c3149fb1001181416r7cd1c1c2n923a438d6a0dfae2 at mail.gmail.com>, pub c
rawler writes:
>So far Varnish is performing very well for us as a web server of these
>cached objects. The connection time for an item out of Varnish is
>noticeably faster than with web servers we have used - even where the
>items have been cached. We are mostly using 3rd party tools like
>webpagetest.org to look at the item times.
The average workload of a cache hit, last I looked, was 7 system
calls, with typical service times, from request received from kernel
until response ready to be written to kernel, of 10-20 microseconds.
Compared to the amount of work real webservers do for the same task,
that is essentially nothing.
I don't know if that is THE best performance, but I know of a lot
of software doing a lot worse.
Try running varnishhist if you have not already :-)
Poul-Henning
--
Poul-Henning Kamp | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG | TCP/IP since RFC 956
FreeBSD committer | BSD since 4.3-tahoe
Never attribute to malice what can adequately be explained by incompetence.
More information about the varnish-misc
mailing list