[Catalyst] Recommended caching back-ends

Alexander Hartmaier alexander.hartmaier at t-systems.at
Fri Oct 7 07:45:34 GMT 2011


Hi Toby,
note that you can still use Cache::FastMmap with Catalyst::Plugin::Cache
(Config::General config file section):

<Plugin::Cache>
<backend>
         class Cache::FastMmap
         expires 3600
         cache_size 8m
</backend>
</Plugin::Cache>

It took me also some time to find out which module is the 'old' and
which the 'new' one, docs need improvement for that.
I'm using it since years without a single segfault. You shouldn't use it
as a session *store* because it is a *cache* which means it can drop a
stored entry anytime if it runs out of memory for a new entry.

Cheers, Alex

Am 2011-10-07 03:52, schrieb Toby Corkindale:
> Hey all,
> I noticed today that Catalyst::Plugin::Cache::FastMmap has been
> DEPRECATED for some now. (With dire warnings about it segfaulting or
> discarding data randomly)
>
> I just wondered what the recommended caching backend is now, to use
> with Catalyst::Plugin::Cache.
>
> (In my case, cached data doesn't need to be consistent between app
> servers.. it's more just for performance so simple local-disk is fine
> for caching, rather than memcached or database based solutions.)
>
> Cheers,
> Toby
>

*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*
T-Systems Austria GesmbH   Rennweg 97-99, 1030 Wien
Handelsgericht Wien, FN 79340b
*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*
Notice: This e-mail contains information that is confidential and may be privileged.
If you are not the intended recipient, please notify the sender and then
delete this e-mail immediately.
*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*



More information about the Catalyst mailing list