I’m a fan of Batcache, the Memcached-based WordPress full-page cache solution, but I’ve discovered that it ignores the content-type header set when the page is initially generated and re-sends all content with content-type: text/html. I posted a note about this at the WordPress support forums, but then I realized what the problem was: apache_response_headers() doesn’t [...]
Posted April 22, 2009 by Casey Bisson
Categories: Technology. Tags: batcache, caching, fix, memcached, wordpress, workaround. 3 Comments.
The above graph is far from typical, but I love that the box (the top one in this picture) can do the job when it needs to. This activity is a result of bulk record imports, web activity results in relatively little database traffic due to my use of Memcached and Batcache.
Posted February 19, 2009 by Casey Bisson
Categories: Dispatches, Technology. Tags: batcache, memcached, mysql, optimization, scriblio, server, wordpress. Be the first one.
Using info from CentOS forums, Sunny Walia and Ryan Boren, here’s how I got memcached running on my Dotster VPS:
Install libevent:
wget http://www.monkey.org/~provos/libevent-1.3e.tar.gz
tar zxvf libevent-1.3e.tar.gz
cd libevent-1.3e
./configure
make
make install
Install memcached
wget http://danga.com:80/memcached/dist/memcached-1.2.5.tar.gz
tar zxvf memcached-1.2.5.tar.gz
cd memcached-1.2.5
./configure
make
make install
We will start the server to use 30 megs of ram (-m 30), listen on ip 127.0.0.1 (-l 127.0.0.1) and run on port 11211 [...]
Posted September 7, 2008 by Casey Bisson
Categories: Technology. Tags: Centos, documentation, install, memcached, red hat, rhel, step by step, vps. Be the first one.
Ryan Boren wrote about using memcached with WordPress almost a year ago:
Memcached is a distributed memory object caching system. WordPress 2.0 can make use of memcached by dropping in a special backend for the WP object cache. The memcached backend replaces the default backend and directs all cache requests to one or more memcached daemons. [...]
Posted December 13, 2006 by Casey Bisson
Categories: Technology. Tags: caching, memcached, optimization, wordpress. One Comment.
memcached, a “highly effective caching daemon, …designed to decrease database load in dynamic web applications,” and the related PHP functions
pspell PHP functions related to aspell and this pspell overview from Zend
http_build_query, duh?
current connected mysql threads * unix load average = system busy; reduce operations when $system_busy > $x
development, memcached, mysql, [...]
Posted August 30, 2006 by Casey Bisson
Categories: Technology. Tags: development, memcached, mysql, php, pspell. Be the first one.