#5815: Adds per-view cache refreshing (clearing)
-------------------------------------+-------------------------------------
     Reporter:  k0001                |                    Owner:  Ahter
                                     |  Sönmez
         Type:  New feature          |                   Status:  assigned
    Component:  Core (Cache system)  |                  Version:  dev
     Severity:  Normal               |               Resolution:
     Keywords:  cache refresh clear  |             Triage Stage:  Accepted
    Has patch:  1                    |      Needs documentation:  0
  Needs tests:  1                    |  Patch needs improvement:  1
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Comment (by Petr Dlouhý):

 I would like to my use case to widen the perspective.
 I am running a website with ~4k RPM and clearing cache for some view could
 result in timeouts due to cache hammering.
 Multiple requests would bump into the cleared cache at the same time and
 it would result in too many DB requests which would slow down the single
 database significantly (the requests would take tens of seconds).

 So clearing the cache even for single page/view is not an option for me.
 The solution for me would be to directly inject new keys.
-- 
Ticket URL: <https://code.djangoproject.com/ticket/5815#comment:17>
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 django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/0107019010e40eaa-c48170d0-a053-42f0-b9d3-11867c814635-000000%40eu-central-1.amazonses.com.

Reply via email to