Using Django's cache with locmem (with simple Python classes as values ββstored in lists / tuples / maps) works fine, but does not work with memcached.
Only part of the keys (despite sufficient allocated memory and long timeouts) penetrate memcached, and none of them has any associated value.
When they are restored, the value will not be returned and they will be deleted from the cache.
The forced value "hi" makes those that appear in the cache can be restored, but does not take into account why most keys are simply missing.
Questions:
- Why are only some keys ending in memcached while others are not, even if all values ββare set to hi?
- Is there a way to enable more logging or error reporting? (everything seems to fail)
- Why are Python classes being serialized correctly in locmem but not ending in Memcached?
source share