I would like to use the awesome Cache Machine Django app (https://github.com/jbalogh/django-cache-machine) using Memcachier on Heroku.
From what I understand, Cache Machine does not work out of the box with Memcachier because Memcachier requires PyLibMC and SASL authentication (see https://devcenter.heroku.com/articles/memcachier#django). Cache Machine says that it supports PyLibMC -- and that all you have to do is drop in "caching.backends.memcached.PyLibMCCache" to the CACHES setting.
When you do that, though, you get this error: "error 47 from memcached_set: SERVER HAS FAILED AND IS DISABLED UNTIL TIMED RETRY"
I thought the cause of this is that caching.backends.memcached.PyLibMCCache inherits from django.core.cache.backends.memcached.PyLibMC (see https://github.com/jbalogh/django-cache-machine/blob/master/caching/backends/memcached.py), as where it should inherit from django_pylibmc.memcached.PyLibMCCache in order to work on Heroku (but this is sort of a shot in the dark).
I made my own custom cache backend that instead inherited from django_pylibmc.memcached.PyLibMCCache, but now when I check my Heroku Memcachier panel, it doesn't appear that anything I do is increasing the cache -- it's stuck at 50 mb, even though I would expect it to be increasing with each queryset.
Has anyone successfully set up Cache Machine on Heroku? If so, how'd you do it?