Re: [Catalyst] Recommended caching back-ends

2011-10-07 Thread Alexander Hartmaier

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.
***

___
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
Dev site: http://dev.catalyst.perl.org/


[Catalyst] Recommended caching back-ends

2011-10-06 Thread 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

-- 
Turning and turning in the widening gyre
The falcon cannot hear the falconer
Things fall apart; the center cannot hold
Mere anarchy is loosed upon the world

___
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
Dev site: http://dev.catalyst.perl.org/