dogpile-elasticache

Dogpile backend for AWS Elasticache Memcache service


Keywords
dogpile, cache, aws, elasticache, memcache
License
MIT
Install
pip install dogpile-elasticache==0.1

Documentation

Dogpile Elasticache

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.