Dogpile backend for AWS Elasticache Memcache service. Uses pymemcache to connect to nodes of the Elasticache cluster with auto-discovery.
- PyPI: https://pypi.python.org/pypi/dogpile_elasticache
- Github: https://github.com/ludia/dogpile_elasticache
Install with pip:
$ pip install dogpile_elasticache
Configure a region to use dogpile_elasticache:
from dogpile.cache import make_region
region = make_region().configure(
'elasticache_pymemcache',
arguments = {
'configuration.host': 'XX.XX.cfg.use1.cache.amazonaws.com',
'configuration.port': '11211',
}
)
Install environment:
$ pip install -e .[test]
Run tests (with Nose):
$ nosetests
Release (with zest.releaser):
$ fullrelease
Thanks to https://github.com/gusdan/django-elasticache for the cluster discovery code.