Hi,

I was running a session based middleware based on patches on #4604, but
discovered that the session column is a hot spot in the database.

Some users work quick and/or double click where they should not.

I got deadlocks from postgres where several processes tried to
save the session for a single user.

I created a cookie based middleware:
   http://www.djangosnippets.org/snippets/1459/

Happy Hacking,
  Thomas Güttler

#4604 Session based Middleware: http://code.djangoproject.com/ticket/4604

-- 
Thomas Guettler, http://www.thomas-guettler.de/
E-Mail: guettli (*) thomas-guettler + de

--~--~---------~--~----~------------~-------~--~----~
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+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to