Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Any chance of putting together a brief speed comparison against core, memcache and others?
Comments
Comment #1
cleaver CreditAttribution: cleaver commentedI'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.
Comment #2
jason.fisher CreditAttribution: jason.fisher commented35% lower meaning 35% faster than database cache, or 35% slower than memcache?
Comment #3
cleaver CreditAttribution: cleaver commentedThat 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.
Comment #4
cleaver CreditAttribution: cleaver commentedOh, 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
Comment #5
jason.fisher CreditAttribution: jason.fisher commentedCould 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.