Re: [Django] #36590: Redis, Memcached, and Database cache backends lack specialized many operation implementations

30 views
Skip to first unread message

Django

unread,
Sep 9, 2025, 3:28:06 PM9/9/25
to django-...@googlegroups.com
#36590: Redis, Memcached, and Database cache backends lack specialized many
operation implementations
--------------------------------------+------------------------------------
Reporter: Brian Atkinson | Owner: H. White
Type: Cleanup/optimization | Status: assigned
Component: Core (Cache system) | Version: 5.2
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
--------------------------------------+------------------------------------
Changes (by H. White):

* owner: (none) => H. White
* status: new => assigned

--
Ticket URL: <https://code.djangoproject.com/ticket/36590#comment:2>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
Sep 10, 2025, 12:09:16 PM9/10/25
to django-...@googlegroups.com
#36590: Redis, Memcached, and Database cache backends lack specialized many
operation implementations
--------------------------------------+------------------------------------
Reporter: Brian Atkinson | Owner: H. White
Type: Cleanup/optimization | Status: assigned
Component: Core (Cache system) | Version: 5.2
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
--------------------------------------+------------------------------------
Changes (by H. White):

* has_patch: 0 => 1

--
Ticket URL: <https://code.djangoproject.com/ticket/36590#comment:3>

Django

unread,
Sep 10, 2025, 2:13:46 PM9/10/25
to django-...@googlegroups.com
#36590: Redis, Memcached, and Database cache backends lack specialized many
operation implementations
--------------------------------------+------------------------------------
Reporter: Brian Atkinson | Owner: H. White
Type: Cleanup/optimization | Status: assigned
Component: Core (Cache system) | Version: 5.2
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 1
Easy pickings: 0 | UI/UX: 0
--------------------------------------+------------------------------------
Changes (by Simon Charette):

* needs_better_patch: 0 => 1

--
Ticket URL: <https://code.djangoproject.com/ticket/36590#comment:4>

Django

unread,
Sep 11, 2025, 5:33:32 PM9/11/25
to django-...@googlegroups.com
#36590: Redis, Memcached, and Database cache backends lack specialized many
operation implementations
--------------------------------------+------------------------------------
Reporter: Brian Atkinson | Owner: H. White
Type: Cleanup/optimization | Status: assigned
Component: Core (Cache system) | Version: 5.2
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
--------------------------------------+------------------------------------
Changes (by H. White):

* needs_better_patch: 1 => 0

Comment:

PR is updated. [https://github.com/django/django/pull/19840]
--
Ticket URL: <https://code.djangoproject.com/ticket/36590#comment:5>

Django

unread,
Sep 19, 2025, 7:30:43 AM9/19/25
to django-...@googlegroups.com
#36590: Redis, Memcached, and Database cache backends lack specialized many
operation implementations
--------------------------------------+------------------------------------
Reporter: Brian Atkinson | Owner: H. White
Type: Cleanup/optimization | Status: assigned
Component: Core (Cache system) | Version: 5.2
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 1
Easy pickings: 0 | UI/UX: 0
--------------------------------------+------------------------------------
Changes (by Sarah Boyce):

* needs_better_patch: 0 => 1

--
Ticket URL: <https://code.djangoproject.com/ticket/36590#comment:6>

Django

unread,
Sep 19, 2025, 6:45:41 PM9/19/25
to django-...@googlegroups.com
#36590: Redis, Memcached, and Database cache backends lack specialized many
operation implementations
--------------------------------------+------------------------------------
Reporter: Brian Atkinson | Owner: H. White
Type: Cleanup/optimization | Status: assigned
Component: Core (Cache system) | Version: 5.2
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
--------------------------------------+------------------------------------
Changes (by H. White):

* needs_better_patch: 1 => 0

Comment:

I have revised the PR based on feedback.
https://github.com/django/django/pull/19840
--
Ticket URL: <https://code.djangoproject.com/ticket/36590#comment:7>

Django

unread,
Sep 25, 2025, 8:19:39 AM9/25/25
to django-...@googlegroups.com
#36590: Redis, Memcached, and Database cache backends lack specialized many
operation implementations
--------------------------------------+------------------------------------
Reporter: Brian Atkinson | Owner: H. White
Type: Cleanup/optimization | Status: assigned
Component: Core (Cache system) | Version: 5.2
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 1
Easy pickings: 0 | UI/UX: 0
--------------------------------------+------------------------------------
Changes (by Sarah Boyce):

* needs_better_patch: 0 => 1

--
Ticket URL: <https://code.djangoproject.com/ticket/36590#comment:8>

Django

unread,
Oct 16, 2025, 9:49:57 PM10/16/25
to django-...@googlegroups.com
#36590: Redis, Memcached, and Database cache backends lack specialized many
operation implementations
--------------------------------------+------------------------------------
Reporter: Brian Atkinson | Owner: H. White
Type: Cleanup/optimization | Status: assigned
Component: Core (Cache system) | Version: 5.2
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
--------------------------------------+------------------------------------
Changes (by H. White):

* needs_better_patch: 1 => 0

Comment:

PR is updated and ready for re-review.
--
Ticket URL: <https://code.djangoproject.com/ticket/36590#comment:9>

Django

unread,
Nov 6, 2025, 12:54:08 PM11/6/25
to django-...@googlegroups.com
#36590: Redis, Memcached, and Database cache backends lack specialized many
operation implementations
--------------------------------------+------------------------------------
Reporter: Brian Atkinson | Owner: H. White
Type: Cleanup/optimization | Status: assigned
Component: Core (Cache system) | Version: 5.2
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 1 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
--------------------------------------+------------------------------------
Changes (by Jacob Walls):

* needs_tests: 0 => 1

--
Ticket URL: <https://code.djangoproject.com/ticket/36590#comment:10>

Django

unread,
Nov 8, 2025, 5:08:50 PM11/8/25
to django-...@googlegroups.com
#36590: Redis, Memcached, and Database cache backends lack specialized many
operation implementations
--------------------------------------+------------------------------------
Reporter: Brian Atkinson | Owner: H. White
Type: Cleanup/optimization | Status: assigned
Component: Core (Cache system) | Version: 5.2
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
--------------------------------------+------------------------------------
Changes (by H. White):

* needs_tests: 1 => 0

Comment:

Tests are updated, the PR is ready for re-review.
https://github.com/django/django/pull/19840
--
Ticket URL: <https://code.djangoproject.com/ticket/36590#comment:11>

Django

unread,
Nov 10, 2025, 2:36:10 PM11/10/25
to django-...@googlegroups.com
#36590: Redis, Memcached, and Database cache backends lack specialized many
operation implementations
--------------------------------------+------------------------------------
Reporter: Brian Atkinson | Owner: H. White
Type: Cleanup/optimization | Status: assigned
Component: Core (Cache system) | Version: 5.2
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 1
Easy pickings: 0 | UI/UX: 0
--------------------------------------+------------------------------------
Changes (by Jacob Walls):

* needs_better_patch: 0 => 1

--
Ticket URL: <https://code.djangoproject.com/ticket/36590#comment:12>

Django

unread,
Nov 10, 2025, 5:08:06 PM11/10/25
to django-...@googlegroups.com
#36590: Redis, Memcached, and Database cache backends lack specialized many
operation implementations
--------------------------------------+------------------------------------
Reporter: Brian Atkinson | Owner: H. White
Type: Cleanup/optimization | Status: assigned
Component: Core (Cache system) | Version: 5.2
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
--------------------------------------+------------------------------------
Changes (by H. White):

* needs_better_patch: 1 => 0

Comment:

Revised based on PR feedback, https://github.com/django/django/pull/19840
--
Ticket URL: <https://code.djangoproject.com/ticket/36590#comment:13>

Django

unread,
Nov 10, 2025, 5:08:47 PM11/10/25
to django-...@googlegroups.com
#36590: Redis, Memcached, and Database cache backends lack specialized many
operation implementations
-------------------------------------+-------------------------------------
Reporter: Brian Atkinson | Owner: H. White
Type: | Status: assigned
Cleanup/optimization |
Component: Core (Cache system) | Version: 5.2
Severity: Normal | Resolution:
Keywords: | Triage Stage: Ready for
| checkin
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Jacob Walls):

* stage: Accepted => Ready for checkin

--
Ticket URL: <https://code.djangoproject.com/ticket/36590#comment:14>

Django

unread,
Nov 11, 2025, 1:24:41 PM11/11/25
to django-...@googlegroups.com
#36590: Redis, Memcached, and Database cache backends lack specialized many
operation implementations
--------------------------------------+------------------------------------
Reporter: Brian Atkinson | Owner: H. White
Type: Cleanup/optimization | Status: assigned
Component: Core (Cache system) | Version: 5.2
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 1
Easy pickings: 0 | UI/UX: 0
--------------------------------------+------------------------------------
Changes (by Jacob Walls):

* needs_better_patch: 0 => 1
* stage: Ready for checkin => Accepted

--
Ticket URL: <https://code.djangoproject.com/ticket/36590#comment:15>

Django

unread,
Nov 13, 2025, 9:50:08 AM11/13/25
to django-...@googlegroups.com
#36590: Redis, Memcached, and Database cache backends lack specialized many
operation implementations
--------------------------------------+------------------------------------
Reporter: Brian Atkinson | Owner: H. White
Type: Cleanup/optimization | Status: assigned
Component: Core (Cache system) | Version: 5.2
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
--------------------------------------+------------------------------------
Changes (by Jacob Walls):

* needs_better_patch: 1 => 0

--
Ticket URL: <https://code.djangoproject.com/ticket/36590#comment:16>

Django

unread,
Nov 13, 2025, 11:56:46 AM11/13/25
to django-...@googlegroups.com
#36590: Redis, Memcached, and Database cache backends lack specialized many
operation implementations
--------------------------------------+------------------------------------
Reporter: Brian Atkinson | Owner: H. White
Type: Cleanup/optimization | Status: assigned
Component: Core (Cache system) | Version: 5.2
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 1 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
--------------------------------------+------------------------------------
Changes (by Jacob Walls):

* needs_tests: 0 => 1

--
Ticket URL: <https://code.djangoproject.com/ticket/36590#comment:17>

Django

unread,
Dec 18, 2025, 5:50:47 PM12/18/25
to django-...@googlegroups.com
#36590: Redis, Memcached, and Database cache backends lack specialized many
operation implementations
--------------------------------------+------------------------------------
Reporter: Brian Atkinson | Owner: H. White
Type: Cleanup/optimization | Status: assigned
Component: Core (Cache system) | Version: 5.2
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
--------------------------------------+------------------------------------
Changes (by H. White):

* needs_tests: 1 => 0

Comment:

Tests are updated and PR is ready for re-review.
https://github.com/django/django/pull/19840
--
Ticket URL: <https://code.djangoproject.com/ticket/36590#comment:18>

Django

unread,
Dec 19, 2025, 11:08:30 AM12/19/25
to django-...@googlegroups.com
#36590: Redis, Memcached, and Database cache backends lack specialized many
operation implementations
-------------------------------------+-------------------------------------
Reporter: Brian Atkinson | Owner: H. White
Type: | Status: assigned
Cleanup/optimization |
Component: Core (Cache system) | Version: dev
Severity: Normal | Resolution:
Keywords: | Triage Stage: Ready for
| checkin
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Jacob Walls):

* stage: Accepted => Ready for checkin
* version: 5.2 => dev

--
Ticket URL: <https://code.djangoproject.com/ticket/36590#comment:19>

Django

unread,
Dec 19, 2025, 1:02:32 PM12/19/25
to django-...@googlegroups.com
#36590: Redis, Memcached, and Database cache backends lack specialized many
operation implementations
-------------------------------------+-------------------------------------
Reporter: Brian Atkinson | Owner: H. White
Type: | Status: closed
Cleanup/optimization |
Component: Core (Cache system) | Version: dev
Severity: Normal | Resolution: fixed
Keywords: | Triage Stage: Ready for
| checkin
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Jacob Walls <jacobtylerwalls@…>):

* resolution: => fixed
* status: assigned => closed

Comment:

In [changeset:"948f1bf5a1c1c93ee9c6f4baa2fd990e31361f81" 948f1bf]:
{{{#!CommitTicketReference repository=""
revision="948f1bf5a1c1c93ee9c6f4baa2fd990e31361f81"
Fixed #36590 -- Made async cache methods use specialized sync versions if
available.

Thanks Simon Charette, Sarah Boyce, and Jacob Walls for reviews.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/36590#comment:20>
Reply all
Reply to author
Forward
0 new messages