Questions tagged [pymemcached]
3 questions
2
votes
0 answers
How to adjust the Django PymemcacheCache limit to be over 1MB
A similar question was posted here regarding adjusting the 1mb limit of memcached storage in Django settings. However, the answer was referring to django.core.cache.backends.memcached.MemcacheCache, which has since been deprecated.
I tried…

Peter Williams
- 21
- 1
1
vote
0 answers
Django object cache with memcache after pickling
I was trying to cache a Django model Instance like
class MyModel(models.Model):
...
several atributes, as well as foreign key attributes
...
from pymemcache.client import base
import pickle
obj = MyModel.objects.first()
client =…

Nimish Bansal
- 1,719
- 4
- 20
- 37
0
votes
1 answer
How to set Django queryset to GKE memcached
Somehow I thought, pymemcached should work out of the box like django cache.
But what I am realizing is it doesn't.
Going through the docs, there are methods like set_multi, get_multi. This should work well with django dictionaries(key/value…

LearnToday
- 2,762
- 9
- 38
- 67