Skip to content

chore(api): use pymemcache instead of pylibmc - #1255

Open
peterthomassen wants to merge 1 commit into
mainfrom
20260902_pymemcache
Open

peterthomassen wants to merge 1 commit into
mainfrom
20260902_pymemcache

Conversation

@peterthomassen

Copy link
Copy Markdown
Member

pylibmc is no longer maintained and, due to Python evolving, throws warnings on startup. This PR is trying to get rid of the risk from this by moving to the memcache connector that Django docs most prominently feature.

pymemcache is a pure-Python memcached client, so the API image no longer
needs to compile a C extension against libmemcached.

Django closes cache connections at the end of each request, so the new
backend reconnects to memcached per request. TCP_NODELAY avoids Nagle
delays when storing the serial list and throttle histories.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant