#23830: Make expired session clearing on database backend scale better
--------------------------------------+------------------------
     Reporter:  adamchainz            |      Owner:  adamchainz
         Type:  Cleanup/optimization  |     Status:  new
    Component:  contrib.sessions      |    Version:  master
     Severity:  Normal                |   Keywords:
 Triage Stage:  Unreviewed            |  Has patch:  1
Easy pickings:  1                     |      UI/UX:  0
--------------------------------------+------------------------
 In two large django projects now I've had to swap out using the default
 `clear_expired` implementation on the database SessionStore to a chunked
 approach since a single delete across the whole table became a bottleneck
 query. It would be better if the database backend clear that shipped with
 django was already chunked so django apps scale better.

--
Ticket URL: <https://code.djangoproject.com/ticket/23830>
Django <https://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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/053.14cc9b618833b94dca7ae5303a15aec2%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to