#33625: Under ASGI, PyLibMCCache closes memcached connection after every request
-------------------------------------+-------------------------------------
Reporter: Anders Kaseorg | Owner: Pablo
Type: | Montepagano
Cleanup/optimization | Status: assigned
Component: Core (Cache system) | Version: 4.0
Severity: Normal | Resolution:
Keywords: asgi, async | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Pablo Montepagano):
* owner: nobody => Pablo Montepagano
* status: new => assigned
Comment:
I'd like to try to solve this ticket. If I understand correctly, what
would be needed is a connection pool for `PyLibMCCache` and for
`PyMemcacheCache` that works well under ASGI. I'm thinking of doing
something similar to what was done in this repo: https://github.com
/Andrew-Chen-Wang/django-async-redis
Before I start developing, do we have a good way to do integration testing
for this? I'll try to look into that first.
--
Ticket URL: <https://code.djangoproject.com/ticket/33625#comment:5>
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 view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/01070181b5306519-14f365c8-7df3-4a0f-87e9-1b0cc6acdb9e-000000%40eu-central-1.amazonses.com.