Heine

  • Home
  • Drupal
  • About
Home

Performance

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
  • Read more about Varnish vs. page cache graph
  • 1 comment

Alternative PHP cache on SUSE 9.3 Professional

Heine —Wed, 2007/02/21 - 04:17

Forget about # pecl install apc (Alternative PHP Cache on Debian Sarge). This is going to hurt.

All steps in this short overview were necessary on a Strato V-PowerServer. Depending on your installation, your mileage may vary.

  • PHP
  • Performance
  • V-PowerServer
  • Read more about Alternative PHP cache on SUSE 9.3 Professional
  • 1 comment

Alternative PHP Cache on Debian Sarge

Heine —Tue, 2007/02/20 - 22:40

This is a repost about a different (now defunct) server.

Khalid wrote a small guide to Installing the Alternative PHP Cache on Ubuntu Dapper and Debian. The installation on Debian 3.1 (Sarge), requires a few extra steps though.

Make sure you have the proper permissions (# denotes the root prompt) and issue the following commands:

  • Drupal
  • PHP
  • Performance
  • Read more about Alternative PHP Cache on Debian Sarge
  • 2 comments
Subscribe to Performance

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