Re: Is file based cache is safe for concurrent process?

30 views
Skip to first unread message

Andre Terra

unread,
Mar 27, 2013, 12:05:13 AM3/27/13
to django...@googlegroups.com
safe or not, it is slow. why not use redis?

On Tue, Mar 26, 2013 at 9:57 PM, Ivan Smirnoff <ivan...@gmail.com> wrote:
Hi all.
Can anyone tell, does django.cache locks file for writing by concurrent process?

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users...@googlegroups.com.
To post to this group, send email to django...@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Russell Keith-Magee

unread,
Mar 27, 2013, 7:00:04 PM3/27/13
to django...@googlegroups.com
On Wed, Mar 27, 2013 at 8:57 AM, Ivan Smirnoff <ivan...@gmail.com> wrote:
Hi all.
Can anyone tell, does django.cache locks file for writing by concurrent process? 

Django's file-based cache doesn't do any locking. It wasn't really designed as a production system -- it's more of a test that the cache API works as an abstraction.

Yours,
Russ Magee %-) 

Reply all
Reply to author
Forward
0 new messages