Conditional backend requests on repository branch experimental-ims
paulo at aliancaproject.com
Thu Jun 9 02:13:08 CEST 2011
Yesterday I finally had the time to download this and make the RPM to
install in my caches servers.
I did not have the time to tune the VCL very much yet, or test it, but from
what I did until now, I'm getting this result:
Monitoring eth0... (press CTRL-C to stop)
rx: 17985.20 kB/s 51195 p/s *tx: 82989.47 kB/s 69083 p/s*
Hitrate ratio: 10 72 72
Hitrate avg: 0.7245 0.7202 0.7202
758943 1059.66 1033.98 client_conn - Client connections
2006428 2647.15 2733.55 client_req - Client requests received
1200744 1622.48 1635.89 cache_hit - Cache hits
29541 40.99 40.25 cache_hitpass - Cache hits for pass
491576 620.80 669.72 cache_miss - Cache misses
64840 110.96 88.34 backend_conn - Backend conn. success
50 2.00 0.07 backend_fail - Backend conn. failures
748067 927.70 1019.16 backend_reuse - Backend conn. reuses
343 0.00 0.47 backend_toolate - Backend conn. was
748505 926.70 1019.76 backend_recycle - Backend conn.
101 0.00 0.14 backend_retry - Backend conn. retry
60 0.00 0.08 fetch_head - Fetch head
463996 462.85 632.15 fetch_length - Fetch with Length
91229 147.95 124.29 fetch_chunked - Fetch chunked
4732 9.00 6.45 fetch_close - Fetch wanted close
12 0.00 0.02 fetch_failed - Fetch failed
* 252531 416.87 344.05 fetch_304 - Fetch no body (304)*
The default ttl is set to 60s, and people are able to refresh the cache
using the no-cache (ctrl f5).
Ah, before the patch I was hitting much more RX than now, so I guess it is
really working and helping.
If you have any tips, I'd be glad to test.
Thanks you! ;)
2011/6/7 Geoff Simmons <geoff at uplex.de>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA256
> Hello all,
> The code for the proposed conditional backend request feature (usually
> If-Modified-Since requests to backends) is now up to date with the
> current trunk and available on an experimental branch of the source
> repository called experimental-ims.
> On an updated git working tree you can say:
> $ git branch -a
> ... and you should see something like 'remotes/origin/experimental-ims'
> in the list. Then to work with the branch:
> $ git checkout -b experimental-ims remotes/origin/experimental-ims
> To switch back to the master branch:
> $ git checkout master
> The feature is documented here:
> Please note that this code is experimental, and will not be included in
> the upcoming 3.0.0 release. The way that this works has not been changed
> from the previous versions distributed as patches, but will likely be
> changed in future versions.
> Testing the mainline 3.0 version is the highest priority for the Varnish
> team right now, so feedback on that is most important. If you also get a
> chance to test the IMS feature, it will be a great help toward getting
> an "official" version settled, so let us know how it goes.
> - --
> UPLEX Systemoptimierung
> Schwanenwik 24
> 22087 Hamburg
> Mob: +49-176-63690917
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG/MacGPG2 v2.0.14 (Darwin)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
> -----END PGP SIGNATURE-----
> varnish-misc mailing list
> varnish-misc at varnish-cache.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the varnish-misc