[Catalyst] FastMmap.pm error while writing sessions file to
shared file system
Joel Bernstein
joel at fysh.org
Thu Aug 6 00:48:39 GMT 2009
On 5 Aug 2009, at 13:55, gutta wrote:
> Robert Mah wrote:
>>
>> Have you looked at memcached? Given that you have to share sessions
>> across
>> machines, it may suite your needs and will be lots faster than a db.
> Thanks for your suggestion.
> I have implemented session storage in db already.
> I will update it with memcache as you are telling its more efficient
> than db
> storage.
So long as you don't make the mistake of thinking the memcache is the
session store, this is fine. Either a session to be retrieved exists
in memcache or it's retrieved from the DB and stuffed into memcache.
But that cache is exactly what it says - it's not a guaranteed or
persistent store.
/joel
More information about the Catalyst
mailing list