Caching in Drupal - APC and Memcached, CacheRouter and Memcache API
Comparação de várias backends e módulos de cache no Drupal.
Inclui um odt e pdf anexados.
Benchmarking tests for a heavy drupal 6 demo site
Characteristics:
Read more• Linode VPS, 1GB RAM, single server setup
• Debian GNU/Linux 5.0 64-bit
• Kernel 2.6.35.4-x86_64-linode16, x86_64
• Apache 2.2.9
• PHP 5.2.6, running as FastCGI
• APC 3.0.19
• Memcached 1.2.2
• MySQL 5.0.51
• Drupal 6.20
• Authenticated User Page Caching (authcache) 1.0-rc2
• Cache Router (cachrouter) 1.0-rc1
• Cache Router Statistics (cacherouter_stats) 1.0-beta3
• Memcache API and Integration (memcache) 1.0-beta3
• JavaScript Aggregator (javascript_aggregator) 1.5
• CSS Gzip (css_gzip) 1.3
• heavy drupal site (182 modules, 95 projects)
Cache Backport e Cache Router
Já sabem do módulo Cache Backport?
É um backport da cache.inc do Drupal 7 directamente para o Drupal 6, capaz de funcionar com as Cache backends do Drupal 7, sem nenhuma ou com poucas modificações.
Read morethese Cache APIs/backends work fully with Cache Backport:
- File Cache (D7, no patch required) - sucessor to fastpath_fscache and Cache Router
- APC - Alternative PHP Cache (D7, no patch required) - sucessor to Cache Router
- Memcache API and Integration (D7, patch required)
- Database / DBTNG (from D7, supplied with Cache Backport)
APC vs. Memcache - why I do get better results with APC?
Hi,
How is memcache different form APC if both are used as user-object caches, with the same Cacherouter module?
1) APC as opcode + APC as user storage
2) APC as opcode + memcached as user storage
What I see is that in real life I get better results (page refresh times, server load) with case 1) - memory allocation in both cases ~100MB
So is memcache useful at all if using just 1 server? I really doubt it is faster...
What is your experience?
Read moreProper way to make Cacherouter-APC, Boost work with Aegir (multisite in general) ?
Hi,
Playing with Aegir - it is a great tool, but want to make it on steroids: use boost Boost and Cacherouter+APC as an user object cache for all sites. I will not touch Varnish for now.
What is the proper way to make config that works? Problem is, that I am changing "platforms" on Aegir rapidly and moving "sites" between them often, but haven't found the way to configure them globally.
Thank you for your thoughts.
Read moreWincache 1.1 support in CacheRouter
A quick port of the APC CacheRouter engine to Wincache: http://drupal.org/node/743028
Since this implements the new user cache, it only works with Wincache 1.1+ (currently available as a beta - http://pecl.php.net/package/wincache).
It seems to be working well, but I haven't done any serious testing on it yet.
Read moreGoogle analytics are... showing not all visitors. Can this be related to some of performance module?
Hi,
Have a site with:
-CacheRouter with db caching
-APC on the server, but not used with CacheRouter
-Boost with default-agressive settings, crowler enabled
-JS minify + gzip
-CSS gzip
-block cache module enabled
-"Normal" drupal cache
-Paged are gzipped by drupal
-GA code is in footer
-Google Analytics module was used with "cache locally" and without - but no change.
-All the internal Google Analytics indicators is showing that everything is ok, some stats is available.
-JS minify+gzip is enabled, but I clearly see the .js file, which is accesible.
Read moreDo you use Cacherouter Memcached (note the trailing "d") engine ?
Anyone here using Cacherouter Memcached backend (which depends on libmemcached) here ? I don't want to discuss PECL memcached itself, let's just say it's stable enough to be considered on par with memcache.
I'm more interested in Cacherouter Memcached engine code, stability, issues, etc.
New module: Authenticated User Page Caching (Authcache)
Authcache offers page caching for logged-in authenticated users. This allows Drupal to load pages in 1-2 milliseconds and take the load off the the database & processor. Please help test this module (the site I was creating this for got axed, but I continued development on this module). Feedback & patches are welcome. This module can be used for anonymous users (it's faster than Drupal core since the database won't be hit), supports the statistics module, and can cache blocks of user-customized content.
Many thanks to Steve Rude for his work on the Cache Router module, which Authcache uses as its caching system.
This is how it works:
Read moreFirst Cache Router release for Drupal 7
Hello Drupal world!
I released beta1 of the 7.x branch of Cache Router over the holiday. The new release passes all Core Cache Tests for APC, File, Database, eAccelerator, and Memcache. XCache is currently broken, and I'm working to get that engine working again as well.
Read moreNew caching module for Drupal 6
So, some people have been asking about memcache for Drupal 6 and my personal modules have been neglected, but meanwhile I decided to come up with something new.
Let me introduce you to Cache Router. http://drupal.org/project/cacherouter
From the project page:
"CacheRouter is a caching system for Drupal allowing you to assign individual cache tables to specific cache technology. CacheRouter also utilizes the page_fast_cache part of Drupal in order to reduce the amount of resources needed for serving pages to anonymous users."
Read more


