As I'm in the process of deciding upon the cache backend to use for a
web application I did a (not very thorough) benchmarking of the
different perl cache modules. So I thought I'd share that.
Btw. I decided to go with CHI using the Memcached::libmemcached driver
over IP with a Memory L1_cache which gives quite stable performance
values (I created the currently missing debian packages for testing,
just in case someone is interested, drop me a note)
As it's quite lengthy here is the link to this:
http://www.brabbel.net/wp/2010/01/perl-cache-modules-benchmark/
I'm still tuning it a little to get a better overview, but these were
the early results and might be of interest, as it's stated in the docs
of CHI anyway.
Comments welcome of course. When I'm done with it, I probably post it
on blogs.perl.org for a wider audience to see.
Cheers
+rl
Typo:
C:Mc:lIP … Cache::Memcached::libmemcached over IP
C:Mc:l … Cache::Memcached::libmemcached over IP <= Socket?
It would be good to include your perl -V output as your perl coing could
influence the results in various ways.
Tim.
On Tue, Jan 05, 2010 at 04:06:03PM -0800, Roland Lammel wrote:Typo:
> Hi all,
>
> As I'm in the process of deciding upon the cache backend to use for a
> web application I did a (not very thorough) benchmarking of the
> different perl cache modules. So I thought I'd share that.
>
> Btw. I decided to go with CHI using the Memcached::libmemcached driver
> over IP with a Memory L1_cache which gives quite stable performance
> values (I created the currently missing debian packages for testing,
> just in case someone is interested, drop me a note)
>
> As it's quite lengthy here is the link to this:
> http://www.brabbel.net/wp/2010/01/perl-cache-modules-benchmark/
C:Mc:lIP … Cache::Memcached::libmemcached over IP
C:Mc:l … Cache::Memcached::libmemcached over IP <= Socket?
It would be good to include your perl -V output as your perl coing could
influence the results in various ways.
Tim.
--
You received this message because you are subscribed to the Google Groups "Perl-Cache Discuss" group.
To post to this group, send email to perl-cach...@googlegroups.com.
To unsubscribe from this group, send email to perl-cache-disc...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/perl-cache-discuss?hl=en.
That's true in general. I usually compile my own perl without threads
for this reason.
Thanks for sharing your benchmark.
- Perrin
Any idea if an existing Perl can be recompiled without threads,
without rebuilding all its CPAN modules? Or does the threadedness
potentially affect how CPAN modules are built?
Jon
I'm not sure, but I would rebuild modules any time I rebuild perl.
- Perrin