[Django] #29887: support for pymemcache to replace python-memcached

20 views
Skip to first unread message

Django

unread,
Oct 25, 2018, 12:58:40 AM10/25/18
to django-...@googlegroups.com
#29887: support for pymemcache to replace python-memcached
------------------------------------------------+------------------------
Reporter: Adrian Turjak | Owner: nobody
Type: Cleanup/optimization | Status: new
Component: Uncategorized | Version: master
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
------------------------------------------------+------------------------
With python-memcached no longer getting any true support[1], maybe it's
time django adds support for pymemcache[2]?


[1]: https://github.com/linsomniac/python-memcached/issues/95
[2]: https://github.com/pinterest/pymemcache

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

Django

unread,
Oct 25, 2018, 12:59:50 AM10/25/18
to django-...@googlegroups.com
#29887: support for pymemcache to replace python-memcached
-------------------------------------+-------------------------------------

Reporter: Adrian Turjak | Owner: nobody
Type: | Status: new
Cleanup/optimization |
Component: Uncategorized | Version: master
Severity: Normal | Resolution:

Keywords: | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Description changed by Adrian Turjak:

Old description:

> With python-memcached no longer getting any true support[1], maybe it's
> time django adds support for pymemcache[2]?
>

New description:

With python-memcached no longer getting any true support(1), maybe it's
time django adds support for pymemcache(2)?

--

--
Ticket URL: <https://code.djangoproject.com/ticket/29887#comment:1>

Django

unread,
Oct 25, 2018, 10:00:17 AM10/25/18
to django-...@googlegroups.com
#29887: Add support for pymemcache to replace python-memcached
-------------------------------------+-------------------------------------

Reporter: Adrian Turjak | Owner: nobody
Type: | Status: closed
Cleanup/optimization |
Component: Core (Cache system) | Version: master
Severity: Normal | Resolution: needsinfo

Keywords: | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Tim Graham):

* status: new => closed
* component: Uncategorized => Core (Cache system)
* resolution: => needsinfo


Comment:

You should make this proposal on the DevelopersMailingList. If there's
consensus, we'll reopen the ticket.

--
Ticket URL: <https://code.djangoproject.com/ticket/29887#comment:2>

Django

unread,
Oct 28, 2018, 9:00:32 PM10/28/18
to django-...@googlegroups.com
#29887: Add support for pymemcache to replace python-memcached
-------------------------------------+-------------------------------------

Reporter: Adrian Turjak | Owner: nobody
Type: | Status: closed
Cleanup/optimization |
Component: Core (Cache system) | Version: master
Severity: Normal | Resolution: needsinfo
Keywords: | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------

Comment (by Adrian Turjak):

Mailing list thread started here:
https://groups.google.com/forum/#!topic/django-developers/PAiLQybcGT8

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

Django

unread,
Oct 30, 2018, 2:30:46 PM10/30/18
to django-...@googlegroups.com
#29887: Add support for pymemcache
--------------------------------------+------------------------------------

Reporter: Adrian Turjak | Owner: nobody
Type: Cleanup/optimization | Status: new
Component: Core (Cache system) | Version: master
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 Tim Graham):

* status: closed => new
* resolution: needsinfo =>
* stage: Unreviewed => Accepted


Comment:

The initial response on the mailing list is positive.

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

Django

unread,
Oct 31, 2018, 6:56:08 PM10/31/18
to django-...@googlegroups.com
#29887: Add support for pymemcache
-------------------------------------+-------------------------------------
Reporter: Adrian Turjak | Owner: mainanick
Type: | Status: assigned
Cleanup/optimization |

Component: Core (Cache system) | Version: master
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 mainanick):

* owner: nobody => mainanick
* status: new => assigned


--
Ticket URL: <https://code.djangoproject.com/ticket/29887#comment:5>

Django

unread,
Jan 30, 2019, 9:43:12 AM1/30/19
to django-...@googlegroups.com
#29887: Add support for pymemcache
-------------------------------------+-------------------------------------
Reporter: Adrian Turjak | Owner: Maina
Type: | Nick
Cleanup/optimization | Status: assigned

Component: Core (Cache system) | Version: master
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
-------------------------------------+-------------------------------------

Comment (by Kosei Kitahara):

I'm a maintener of [https://github.com/django-pymemcache/django-
pymemcache]
Some API are different from python-memcache and pymemcache.
So I override pymemcache.HashClient and override some method to support
python-memcached's API

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

Django

unread,
Apr 3, 2019, 6:09:21 PM4/3/19
to django-...@googlegroups.com
#29887: Add support for pymemcache
-------------------------------------+-------------------------------------
Reporter: Adrian Turjak | Owner: Maina
Type: | Nick
Cleanup/optimization | Status: assigned
Component: Core (Cache system) | Version: master
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
-------------------------------------+-------------------------------------

Comment (by Adrian Turjak):

@Maina Nick
Any progress on this? At the very least marking the backend as deprecated
because the library itself is?


@Kosei Kitahara
That is always good to know, but I think ultimately if we supported this
we're best writing a new standalone backend so that it uses the client
natively and isn't reliant on the other backend which we should deprecate.

--
Ticket URL: <https://code.djangoproject.com/ticket/29887#comment:7>

Django

unread,
Jul 22, 2020, 10:45:35 AM7/22/20
to django-...@googlegroups.com
#29887: Add support for pymemcache
--------------------------------------+------------------------------------
Reporter: Adrian Turjak | Owner: (none)
Type: Cleanup/optimization | Status: new

Component: Core (Cache system) | Version: master
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 Claude Paroz):

* owner: Maina Nick => (none)
* status: assigned => new


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

Django

unread,
Aug 14, 2020, 7:27:27 PM8/14/20
to django-...@googlegroups.com
#29887: Add support for pymemcache
-------------------------------------+-------------------------------------
Reporter: Adrian Turjak | Owner: Nick Pope
Type: New feature | Status: assigned

Component: Core (Cache system) | Version: master
Severity: Normal | Resolution:
Keywords: pymemcache | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Nick Pope):

* keywords: => pymemcache
* owner: (none) => Nick Pope
* has_patch: 0 => 1


* status: new => assigned

* type: Cleanup/optimization => New feature


Comment:

[https://github.com/django/django/pull/13310 PR]

--
Ticket URL: <https://code.djangoproject.com/ticket/29887#comment:9>

Django

unread,
Aug 20, 2020, 3:04:37 AM8/20/20
to django-...@googlegroups.com
#29887: Add support for pymemcache
-------------------------------------+-------------------------------------
Reporter: Adrian Turjak | Owner: Nick Pope
Type: New feature | Status: assigned
Component: Core (Cache system) | Version: master
Severity: Normal | Resolution:
Keywords: pymemcache | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------

Comment (by Mariusz Felisiak <felisiak.mariusz@…>):

In [changeset:"e2013b260a8f689eee280d00b96a9507895ec236" e2013b26]:
{{{
#!CommitTicketReference repository=""
revision="e2013b260a8f689eee280d00b96a9507895ec236"
Refs #29887, #27480 -- Moved touch() to BaseMemcachedCache.
}}}

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

Django

unread,
Sep 1, 2020, 5:16:35 AM9/1/20
to django-...@googlegroups.com
#29887: Add support for pymemcache
-------------------------------------+-------------------------------------
Reporter: Adrian Turjak | Owner: Nick Pope
Type: New feature | Status: assigned
Component: Core (Cache system) | Version: master
Severity: Normal | Resolution:
Keywords: pymemcache | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------

Comment (by Mariusz Felisiak <felisiak.mariusz@…>):

In [changeset:"cc1f2c6a199ca2318acdc59bf0731d2cdd7a4e4a" cc1f2c6a]:
{{{
#!CommitTicketReference repository=""
revision="cc1f2c6a199ca2318acdc59bf0731d2cdd7a4e4a"
Refs #29887 -- Simplified memcached client instantiation.
}}}

--
Ticket URL: <https://code.djangoproject.com/ticket/29887#comment:11>

Django

unread,
Sep 2, 2020, 3:24:46 AM9/2/20
to django-...@googlegroups.com
#29887: Add support for pymemcache
-------------------------------------+-------------------------------------
Reporter: Adrian Turjak | Owner: Nick Pope
Type: New feature | Status: assigned
Component: Core (Cache system) | Version: master
Severity: Normal | Resolution:
Keywords: pymemcache | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------

Comment (by Mariusz Felisiak <felisiak.mariusz@…>):

In [changeset:"a6291394256aa758d74eec9ce0cfae8aea6475f2" a629139]:
{{{
#!CommitTicketReference repository=""
revision="a6291394256aa758d74eec9ce0cfae8aea6475f2"
Refs #29887, Refs #24212 -- Added servers configuration hook for memcached
backends.

The servers property can be overridden to allow memcached backends to
alter the server configuration prior to it being passed to instantiate
the client. This allows avoidance of documentation for per-backend
differences, e.g. stripping the 'unix:' prefix for pylibmc.
}}}

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

Django

unread,
Sep 16, 2020, 4:02:30 AM9/16/20
to django-...@googlegroups.com
#29887: Add support for pymemcache
-------------------------------------+-------------------------------------
Reporter: Adrian Turjak | Owner: Nick Pope
Type: New feature | Status: assigned
Component: Core (Cache system) | Version: master
Severity: Normal | Resolution:
Keywords: pymemcache | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------

Comment (by Mariusz Felisiak <felisiak.mariusz@…>):

In [changeset:"cda0a3d7773b44c28669dfa1a41cb6203c5c298e" cda0a3d7]:
{{{
#!CommitTicketReference repository=""
revision="cda0a3d7773b44c28669dfa1a41cb6203c5c298e"
Refs #29887, Refs #24212 -- Added more client servers tests for
PyLibMCCache.
}}}

--
Ticket URL: <https://code.djangoproject.com/ticket/29887#comment:13>

Django

unread,
Sep 16, 2020, 4:02:32 AM9/16/20
to django-...@googlegroups.com
#29887: Add support for pymemcache
-------------------------------------+-------------------------------------
Reporter: Adrian Turjak | Owner: Nick Pope
Type: New feature | Status: closed

Component: Core (Cache system) | Version: master
Severity: Normal | Resolution: fixed

Keywords: pymemcache | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Mariusz Felisiak <felisiak.mariusz@…>):

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


Comment:

In [changeset:"b4d46df5cad6c936d83dd4f8038d0dc1121bc21e" b4d46df5]:
{{{
#!CommitTicketReference repository=""
revision="b4d46df5cad6c936d83dd4f8038d0dc1121bc21e"
Fixed #29887 -- Added a cache backend for pymemcache.
}}}

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

Reply all
Reply to author
Forward
0 new messages