Use Redis (Redis2) to store sessions

Bug #855930 reported by François Marier
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Libravatar (obsolete)
Triaged
Wishlist
Unassigned

Bug Description

Using Postgres to store sessions is usually not a good idea from a performance point of view due to the large amount of writes (and therefore dead rows) that it generates.

From the Postgres slow query log:

  2011-09-19 08:57:40 UTC LOG: duration: 519.585 ms statement: UPDATE "django_session" SET "session_data" = E'gAJ9cQF...', "expire_date" = E'2011-10-03 08:57:40.084661' WHERE "django_session"."session_key" = E'e7b475d9c...'

Redis2 is not in squeeze, but it's in squeeze backports.

Tags: redis sessions
Revision history for this message
François Marier (fmarier) wrote :
summary: - Use Redis2 to store sessions
+ Use Redis (Redis2) to store sessions
Revision history for this message
François Marier (fmarier) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.