Hi Robert, 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. Best Regards, Mohan
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. > > Cheers, > Rob > > -----Original Message----- > From: gutta [mailto:[email protected]] > Sent: Wednesday, August 05, 2009 4:28 AM > To: [email protected] > 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: [email protected] > Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst > Searchable archive: > http://www.mail-archive.com/[email protected]/ > Dev site: http://dev.catalyst.perl.org/ > > > _______________________________________________ > List: [email protected] > Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst > Searchable archive: > http://www.mail-archive.com/[email protected]/ > Dev site: http://dev.catalyst.perl.org/ > > -- View this message in context: http://www.nabble.com/FastMmap.pm-error-while-writing-sessions-file-to-shared-file-system-tp24821408p24826418.html Sent from the Catalyst Web Framework mailing list archive at Nabble.com. _______________________________________________ List: [email protected] Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/[email protected]/ Dev site: http://dev.catalyst.perl.org/
