[Catalyst] FastMmap.pm error while writing sessions file to shared file system

Robert Mah rmah at pobox.com
Wed Aug 5 12:14:52 GMT 2009


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.

Cheers,
Rob

-----Original Message-----
From: gutta [mailto:mohan at thebizmo.com] 
Sent: Wednesday, August 05, 2009 4:28 AM
To: catalyst at lists.scsys.co.uk
Subject: Re: [Catalyst] FastMmap.pm error while writing sessions file to
shared file system


Hi Andrew,
Thanks for the information.
i will use DB store for session management.
Best Regards,
Mohan

Andrew Rodland wrote:
> 
> On Wednesday 05 August 2009 01:27:11 am gutta wrote:
>> could anyone let me know what the problem here?
> 
> The problem is that what you're trying to do is impossible. You can't mmap
> a 
> file on a non-local fs, so Cache::FastMmap won't work. I wouldn't expect
> any 
> other file-based cache (or SQLite) to be consistent either. If you need to 
> distribute your session store across multiple backend machines you want a
> DB 
> store or memcached.

_______________________________________________
List: Catalyst at 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/




More information about the Catalyst mailing list