On 2012-10-19 09:57, Hugh Barnard wrote:
Hi folks

The first question is a little 'simple' but I need to be sure anyway:

1. If I go $c->cache->set("key", $value);  is that available to all other users 
within the catalyst instance or just for that user session? Sorry!
As you see the cache is on the $c catalyst app instance so it's the same 
regardless of other plugins like session.
You can create a special key that contains the user id if you need per user 
caching, but you are responsible for the security of the implementation.

2. FastMmap vs Memcached [something I know 'outside' Catalyst]. It looks as 
though Memcached has better performance for more complex structures?
Any comments or [better] benchmarks welcome, I seem to only have forum 
anecdotes that suggest this.
I'm using FastMmap since years without problems for our company apps but 
performance isn't critical because they have not much traffic.
Are you talking about using it for caching or session storage?
If session storage and you have your app balanced over multiple servers you 
need a common session storage anyways.

Thanks, in advance Hugh Barnard

--
http://www.hughbarnard.org
http://www.twitter.com/hughbarnard
http://www.big-wave-heuristics.com/




_______________________________________________
List: Catalyst@lists.scsys.co.uk<mailto: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/




*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*
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/

Reply via email to