Conditional backend requests on repository branch experimental-ims

Paulo Paracatu paulo at aliancaproject.com
Thu Jun 9 02:13:08 CEST 2011


Hello,

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*


0+00:12:14
Hitrate ratio:       10       72       72
Hitrate avg:     0.7245   0.7202   0.7202

      758943      1059.66      1033.98 client_conn - Client connections
accepted
     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
closed
      748505       926.70      1019.76 backend_recycle - Backend conn.
recycles
         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:
>
> http://www.varnish-cache.org/trac/wiki/BackendConditionalRequests
>
> 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.
>
>
> Best,
> Geoff
> - --
> UPLEX Systemoptimierung
> Schwanenwik 24
> 22087 Hamburg
> http://uplex.de/
> Mob: +49-176-63690917
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG/MacGPG2 v2.0.14 (Darwin)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>
> iQIcBAEBCAAGBQJN7cEuAAoJEOUwvh9pJNURH9cQAKhwMbFRc7XBBwro2oKE57c4
> jRH36dZMV9/PgAsgg4LlCWbt3+ceG9607gigHocY4VY6viF4ppsK3daxGYL4qxMj
> st4hwJwyZculNDr3Fbg/du13/o4Dexl5Rhy49g1AtxgDCkioT4xo5Y+9OPfI2nAq
> KbiThND+yThCcaOUDssZZsp9ed3JEPD71SNE5Xh0JupXTgXc8RTU2n32XYZE6HwF
> re4Lfpk1RA9xKFg+S/Dz2zAKvJTFIU9liV9abrdQTnHyhsloDyf04QLg7bVnZ28c
> 5PXWQlo2PSxujcLJvr9uKr5CaS+CNWRADd/8DIH6q2tf6pMX3VfwryjbRh2KpT4I
> /GHYEJsyCk0nUNNEwzTPXhZE6zT9yvRPU/qhx09fOsg+X7FEDyZJhTLvgiqIKaFd
> OESrgyQE0wBu/5O+fg7dY+U8rPzQI5aKZWrBYLHIwBA4puCUpq1Fm2+/FZY6vGd5
> GVDbCMNF+Q4HADfYAQZG8X753DQ5O0ZzVvlKP2hmh+r13UTcx45wmFiXitZJFdy4
> BRuNlsJAt13qIgP/I38hCJEay6OgDIyhRtyTkX/aZckHSX/rI/4rjqN7bsHOMIOE
> 33LHwP9VV0OaDPhov9iKKF6/aMqCJ6w5mRUp+qDHdePgQv2uER/HC3qBEtpErB00
> 4LsJb64hxNQds4/nMjCs
> =n6yS
> -----END PGP SIGNATURE-----
>
> _______________________________________________
> varnish-misc mailing list
> varnish-misc at varnish-cache.org
> http://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20110608/41bd9401/attachment-0003.html>


More information about the varnish-misc mailing list