Memcache API versus Cache Router

febbraro - November 25, 2008 - 14:00
Project:Memcache API and Integration
Version:6.x-1.0
Component:Miscellaneous
Category:support request
Priority:normal
Assigned:Unassigned
Status:active
Description

Hey,

I was just wondering what the advantages of using this module over Cache Router would be? I see that this supports memcache clustering and it does not appear that Cache Router does, but I was just looking for what people think.

Thanks.

#1

slantview - December 5, 2008 - 00:53

Cache Router supports memcache clustering.

They are two different modules with different goals. Memcache module is very narrow in focus while Cache Router attempts to give flexibility to multiple cache types. Cache Router is also much newer and only in beta release at this point.

#2

jersu - December 17, 2008 - 01:51

@slantview : would you mind adding a little more detail to the 'different goals' of each.

If I wanted to reduce load on my MySQL server via a server running memcached, what are the benefits of running the module 'Memcache API' versus the module 'Cache Router'?

#3

andypost - December 21, 2008 - 17:40

The main difference is cacherouter uses different backends against memcache is memcache-only!

#4

asb - February 25, 2009 - 09:08

Another difference is that "Memcache API and Integration" seems to offer "a UI for memcache" and it "provides stats"; since I haven't yet installed this module, I can't vouch for this.

The "Cache Router" module advertises great looking stats, but had them removed a while ago; also, Cache Router doesn't offer any kind of administrative interface - so from within Drupal you will never know if the "Cache Router" module is configured properly, is operating well or is operating at all.

Greetings, -asb

#5

slantview - February 25, 2009 - 19:46

That is not true. The stats have not been removed, the stats have never been fully realized yet. It is a feature that is in the DRUPAL-6--1 branch, but has not been released yet. The stats only really work for memcache and for APC currently. As soon as I have time to finish them and session handling, I will release a 1.0 release of Cache Router. I was hoping to have this done by Drupalcon, but it is looking like that is not going to happen as it is a week away now.

#6

vacilando - October 23, 2009 - 22:56

Subscribing.

 
 

Drupal is a registered trademark of Dries Buytaert.