#7639: Locmem is not multiprocess nor threadsafe
---------------------------------------------+------------------------------
Reporter: permon | Owner: nobody
Status: closed | Milestone: 1.0 maybe
Component: Cache system | Version: SVN
Resolution: fixed | Keywords:
Stage: Design decision needed | Has_patch: 0
Needs_docs: 0 | Needs_tests: 0
Needs_better_patch: 0 |
---------------------------------------------+------------------------------
Changes (by jacob):
* status: new => closed
* resolution: => fixed
Comment:
The locmem cache is perfectly ''safe'' it's just not very ''good'' -- each
process and thread gets its own cache, so there's no chances of conflicts.
I've added this note to the docs; you'll see it when the doc-refactor
lands:
{{{
Note that each process will have its own private cache instance, which
means no
cross-process caching is possible. This obviously also means the local
memory
cache isn't particularly memory-efficient, so it's probably not a good
choice
for production environments.
}}}
--
Ticket URL: <http://code.djangoproject.com/ticket/7639#comment:3>
Django Code <http://code.djangoproject.com/>
The web framework for perfectionists with deadlines
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---