Any chance of putting together a brief speed comparison against core, memcache and others?

Comments

cleaver’s picture

I've seen response times approximately 35% lower under purely unscientific testing with ab. Concurrency better too, but I don't recall the specifics.

I thought I came across something that suggested similar performance to memcache. I can't confirm that, but it is a quick, easy *good enough* solution.

jason.fisher’s picture

35% lower meaning 35% faster than database cache, or 35% slower than memcache?

cleaver’s picture

That would be 35% lower elapsed time for the response...

EG: 1 second without filecache, but 650ms with filecache.

In any case, it's so quick to install that it's worth just turning on and running your own test. I think for a more complex site, memcache will be much better, but a moderately simple site will benefit from filecache.

cleaver’s picture

Oh, and I did a little bit more on the topic. Still not an exhaustive test, but gives some numbers:

http://cleaver.ca/blog/drupal-7-performance-memcache-vs-filecache

jason.fisher’s picture

Could you include xhprof data from the test comparisons? i.e. enable xhprof module, have it save xhprof requests, and save/zip up the resulting xhprof session dir?

Do you have MySQL Query Cache enabled?

Are you connecting to Memcache on the local server? Wondering about network latency/etc.

I have also made the move, but for a larger/more complex setup (1 million entities) -- from memcached to filecache+lsyncd, because my authcache is in the range of 8GB and too large/not all used enough to warrant living in memory and I wouldn't want to spend the time to recrawl it.