Heine

  • Home
  • Drupal
  • About
Home

Varnish vs. page cache graph

Heine —Fri, 2009/07/31 - 21:24

Varnish is running on the same box (lame duck edition) as Apache, and specifically configured to cache pages for anonymous users, not just JS, CSS and images. The pressflow reverse proxy patches were used to prevent sessions for anonymous users. All on Drupal 6.13.

The ab command used to build the graph includes a fake has_js cookie:

ab -n 20000 -C has_js=1 -c [concurrency] http://example.com/

The no cache requests/seconds number decreases from about 7.2 request/s to 4.2 requests/s. A large number of requests fail if the concurrency is increased above 100 for non-varnish setups.

  • Drupal
  • Performance
  • Varnish

Comments

Boost

Submitted by mikeytown2 (not verified) on Sun, 2009/09/13 - 12:19

You should throw Boost into the mix... I'm wondering how it compares to varnish.

Recent posts

  • Teampassword manager's password generator is biased
  • Other vectors for SA-CORE-2014-005?
  • Lazy loading: hook_hook_info is for hook owners only.
  • "Always offline" problem in EA's Origin due to antivirus
  • From bug to exploit - Bakery SSO
more

Security reviews

I provide security reviews of custom code, contributed modules, themes and entire sites via LimoenGroen.

Contact us for a quote.

Follow @ustima

Copyright © 2021 by Heine Deelstra. All rights reserved.

  • Home
  • Drupal
  • About