Sencer's caching plugin for textpattern is snazzy

I decided to try out Sencer’s variation of jpcache on weblog.textdrive.com (mainly because it seemed to be a smart caching plugin).

So from across the datacenter, and hitting the good ‘ole weblog:

Without

#ab -n 1000 -c 100 http://weblog.textdrive.com/
Server Software: lighttpd/1.3.13
Server Hostname: weblog.textdrive.com
Concurrency Level: 100
Time taken for tests: 29.870749 seconds
Complete requests: 1000
Failed requests: 0
Write errors: 0
Requests per second: 33.48 [#/sec] (mean)

With

#ab -n 1000 -c 100 http://weblog.textdrive.com/
Server Software: lighttpd/1.3.13
Server Hostname: weblog.textdrive.com
Concurrency Level: 100
Complete requests: 1000
Failed requests: 0
Write errors: 0
Requests per second: 375.36 [#/sec] (mean)

Nice.

That’s a nice solid output. I like.

Edit

Having ab accept gzip encoding (like a real browser) per Sencer’s suggestion pushed it up to 529.14 req/sec

#ab -n 1000 -c 100 -H “Accept-Encoding: gzip” http://weblog.textdrive.com/
Requests per second: 529.14 [#/sec] (mean)

·:· Posted 18 May 2005, 18:26 by Jason Hoffman to Server geek  |  

  1. Let me try a comment. The problem is that with a nice static output like that we’ll only be able to handle about 30 million hits a day …

    Jason Hoffman    18 May 2005, 18:30    #
  2. Dude…...

    Robert Simplicio    18 May 2005, 19:10    #
  3. > Requests per second: 33.48 [#/sec] (mean)

    33 requests per second uncached? That’s a pretty good advertisement for Textpattern.

    Alex    18 May 2005, 22:05    #
  4. Yeah, about 33 uncached on pacific.textdrive.com, which is a single P4 3.06Ghz processor. It does about 50 on one the “shared” machines, but those are about 4-6GB of RAM and dual 3.6Ghz machines.

    It’s also php-fastcgi under lighttpd, so notice that the concurrency is 100+ on the tests.

    Jason Hoffman    18 May 2005, 22:40    #
  5. Nice, glad you like it. :)

    Just for kicks: Try adding the following option to your test run with ab:
    -H “Accept-Encoding: gzip”

    ;)

    Sencer    19 May 2005, 13:50    #