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

2013-05-31 Thread Ivan Smirnoff
> During cache body creation, concurrent processes can also make useless cache bodies in case usage tmp file (not locking). -- sorry, during cache writing to tmp file... 2013/5/31 Ivan Smirnoff > I was also created the backend, but did not have time to make a fork. > Se

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

2013-05-31 Thread Ivan Smirnoff
I was also created the backend, but did not have time to make a fork. See https://bitbucket.org/evotech/cache-tagging/src/d26adf9f66581923f03ca2d89261568b521eb82e/cache_tagging/django_cache_tagging/backends.py?at=default Also, I think, it will be better to move directory clearing to Thread for asy