Skip to main content

A Django cache backend for Memcached with 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.2.tar.gz (2.1 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 2.7

File details

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

File metadata

File hashes

Hashes for django-memcached-hashring-0.1.2.tar.gz
Algorithm Hash digest
SHA256 f71f99d60e704cc239bddbbe336dcdc5bb8a487b65a1b0b6c7ce0f4af5848442
MD5 e625b5108f2e0e03096242971cefafff
BLAKE2b-256 241dc9d312e93ef782822305a76b9fe0990adb43212caac13d42e15093c56fba

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for django_memcached_hashring-0.1.2-py27-none-any.whl
Algorithm Hash digest
SHA256 14c2dc29bc693feaf114dea8c871f4d25daca72bba8f37b159d552fed4ab6337
MD5 bdf1b0eff9248fc14111bdf6f2e6164a
BLAKE2b-256 aac8d609582e473f661e532b6006d646a1892e9868709daf06e3c9a1183d0e62

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