memcache
Memcache cluster with Cacherouter
Hello
We have four load-balanced Apache servers (Ap1, Ap2, Ap3, Ap4) all pointing to a single MySQL server master server, which has a single Slave. We are running Pressflow 6.14.
What I'd really appreciate some advice on please is how best to configure Memcache and which module (cacherouter or memcache) I should use.
My thought was to create indentical bins on all 4 servers, something like this (Ap1,2,3,4 etc would be replaced by IP addresses):
<?php
$conf['cache_inc'] = './sites/all/modules/contrib/cacherouter/cacherouter.inc';
$conf['cacherouter'] = array(
Advantages of multiple memcache bins?
I work for a company that has several drupal (5.x) sites that get ~1million page views per month. We run memcache (for other non-drupal purposes) and I recently installed the memcache module on a few of the drupal sites. I notice that we have 2 memcache servers each with only 1 bin of 16 gigs each. My understanding is that it's more efficient to run smaller, more specialized bins so I'm trying to get the sys ops people to bust up the memcache servers into smaller bins. Is this correct?
New Release: Cache Router 1.0-rc1
Spent A LOT of time over the past few days really getting into the bugs in Cache Router. This module is now entering the 1.0 release candidate world. It now "just works". For a lot of people it should be as easy as installing the module, adding the configs to settings.php and watching your site be 20-50% faster.
For bigger sites, this module will allow you to scale to great heights using memcache.
Here you go: 1.0-rc1 release - http://bit.ly/CMRRW Project page: http://drupal.org/project/cacherouter
Director of Technology | ConsumerSearch.com
ConsumerSearch.com, one of the largest web sites running Drupal, is looking for a talented Director to manage and work with its development team. This team builds, maintains, and operates all hardware and software for ConsumerSearch based on Drupal, PHP, MySQL. All development is done in a UNIX-based environment.
Drupal Back End Architect - Assistant Technical Architect - Senior Developer | CNS
Senior Drupal/PHP developer with a desire to move from Development into Architecture sought urgently. Great day rate. NEed to hear from you in the next couple of hours though!!!
This role is based in Reading although a significant number of the team commute daily from London, Paddington (journey time 30 minutes).
I'm looking for an enthusiastic, hardworking, reliable and knowledgeable assistant technical architect to join our agile team working on a cutting edge Website based on the Drupal Framework.
Performance gain with Memcached on Windows?
I just have tested memcached on Windows/Apache to investigate, if a performance can be expected.
I was very surprised, but it seems that memcached does not perform better than the Drupal built-in DB-Caching mechanism.
I am very curious, if anybody else had different results.
Detailed information follows.
My environment
- Windows XP
- Apache/2.0.61 (Win32)
- PHP Version 5.2.6
- MySQL 5.0.77
- Memcache 1.2.6
All installed on single box.
I have set up two environments with copies of the same DB.
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:
Add Squid on single-server setup?
Quick question -- I run a (smallish) community site on a single dedicated server that is roughly 80% anonymous traffic. I've already installed memcache and apc on my server and tuned mysql etc. so things are running pretty good. In investigating how to make my site run as fast as possible, I've run across mention of squid.
Best practices for Drupal sessions in memcached?
Hi All,
I'm using memcache module for cache tables.
Now I am interested in doing some testing of using memcache for sessions.
In production we are using RHEL and CentOS in testing so for setup of memcached I'm using the start-memcached and memcached init scripts offered here:
http://www.dev411.com/wiki/Memcached_startup_files_for_Red_Hat_(RHEL)
This uses a /etc/memcached.conf which looks something like this:
-u apache
-d
-m 32
-l 127.0.0.1
-p 11211
Based on info contained within this thread:
Memcache options for Drupal 6.x - your opinions please
Hi all,
I initially posted here in the forums, but catch suggested I should post here: http://drupal.org/node/362511
Duplicate content, but here's the post again:
Just throwing this out there. I have been using the Cache Router module to implement Memcache in Drupal 6.x. It says it "refactored" the Memcache API module to include Memcache support, which seems a bit odd. But it works.





