Skip to main content

Django cache backend for Amazon ElastiCache (memcached)

Project description


Simple Django cache backend for Amazon ElastiCache (memcached based). It uses pymemcache and sets up a connection to each node in the cluster using auto discovery. Originally forked from django-elasticache.


  • pymemcache
  • Django>=2.2
  • django-pymemcache>=1.0


Get it from pypi:

pip install django-elastipymemcache


Your cache backend should look something like this:

    'default': {
        'BACKEND': 'django_elastipymemcache.backend.ElastiPymemcache',
        'LOCATION': '[configuration endpoint]:11211',
        'OPTIONS': {
          'ignore_exc': True, # pymemcache Client params
          'ignore_cluster_errors': True, # ignore get cluster info error


Run the tests like this:


Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for django-elastipymemcache, version 2.0.4
Filename, size File type Python version Upload date Hashes
Filename, size django_elastipymemcache-2.0.4-py2.py3-none-any.whl (6.0 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size django-elastipymemcache-2.0.4.tar.gz (5.4 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page