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.tar.gz (2.0 kB view details)

Uploaded Source

Built Distribution

django_memcached_hashring-0.1-py27-none-any.whl (3.5 kB view details)

Uploaded Python 2.7

File details

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

File metadata

File hashes

Hashes for django-memcached-hashring-0.1.tar.gz
Algorithm Hash digest
SHA256 aea42d1cfd29500002701d0bb47bd4cac4dd57651d00695b3506a482805ba538
MD5 e7bc242a60e6d4d1f4031e8dd11777eb
BLAKE2b-256 7cd86e62dffc74250bb0527a4aa1deedb32237e4391d2aec95f8c0a140e540af

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for django_memcached_hashring-0.1-py27-none-any.whl
Algorithm Hash digest
SHA256 8e5cc15ec6d0755bc1a742e3c92fe8ce59213be7884d7f476f0c90420893aa5b
MD5 e79b5c7be7070a1cac3f6304600bf71d
BLAKE2b-256 85025bc9bb5a3b6d9d8f3dc5b13264194d2f0106c1bfda2eeb3771e842d604f7

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