Dogpile backend for AWS Elasticache Memcache service. Uses pymemcache to connect to nodes of the Elasticache cluster with auto-discovery.
Usage
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',
}
)
Development
Install environment:
$ pip install -e .[test]
Run tests (with Nose):
$ nosetests
Release (with zest.releaser):
$ fullrelease
Thanks
Thanks to https://github.com/gusdan/django-elasticache for the cluster discovery code.
Changelog
0.1 (2016-04-11)
Released on Github
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file dogpile_elasticache-0.1.tar.gz.
File metadata
- Download URL: dogpile_elasticache-0.1.tar.gz
- Upload date:
- Size: 5.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6ca30e6e3c564bd71ac4a6715a369ffc741eca9ce4fc0204468e66f83ce863fa
|
|
| MD5 |
cb8bfd7af78dbbb9520952b415fcf683
|
|
| BLAKE2b-256 |
966c84f6ae4ff7fc9c489e87ed9fb770fba852e215e5858f6ad9ebdd0c03a52b
|