Skip to main content

A Django cache backend for Memcached with consistent consistent hashing.

Project description

A simple Django cache backend based on python-memcached using hash_ring for consistent hashes. See the individual packages’ documentation for more info.

Use it like this:

CACHES = {
    'default': {
        'BACKEND': 'memcached_hashring.backend.MemcachedHashRingCache',
        'LOCATION': [
           '10.0.0.1:11211',
           '10.0.0.2:11211',
           '10.0.0.3:11211',
        ],
    },
}

Project details


Download files

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

Source Distribution

django-memcached-hashring-0.1.1.tar.gz (2.1 kB view details)

Uploaded Source

Built Distribution

django_memcached_hashring-0.1.1-py27-none-any.whl (3.8 kB view details)

Uploaded Python 2.7

File details

Details for the file django-memcached-hashring-0.1.1.tar.gz.

File metadata

File hashes

Hashes for django-memcached-hashring-0.1.1.tar.gz
Algorithm Hash digest
SHA256 f6ebd5598fd7f9ce038ffabd99be9f529499756042906781decabfc4beaad0f2
MD5 997813c3b1bab93c66a7fb3c978412b5
BLAKE2b-256 b2bf63e7cf663c4ac6e16197f35dfb29c3ef0e718b8875997f09c57077f5cc8c

See more details on using hashes here.

Provenance

File details

Details for the file django_memcached_hashring-0.1.1-py27-none-any.whl.

File metadata

File hashes

Hashes for django_memcached_hashring-0.1.1-py27-none-any.whl
Algorithm Hash digest
SHA256 b8a5f73c61a2fa619c17fbf948c29b6580f1db32becb1bb1fe9b42c3391ac681
MD5 b683d46fc0c277079441f6678d40c15c
BLAKE2b-256 a28aa432d78f623ad4537ae2c1c32036f1157fff166965e9780a49ea4b947d18

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page