Your Ad Here

Tuesday, January 17, 2012

Re: am I understanding sessions correctly?

>
> Yes, your caching seems a likely culprit, and so does the asynchronous
> nature of you AJAX (but it seems like you've got a handle on that
> part). I haven't thought through the load balancer bit yet, but
> presumably they are all using the same cache / database / session
> store..?
>

update -- we seem to have resolved the problem by installing memcached
and using the "django.contrib.sessions.backends.cached_db" session
middleware. We also seem to have gotten a nice (and unexpected)
performance boost as well.

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

0 comments:

Post a Comment