Versions

Description

.. image:: https://travis-ci.org/ambitioninc/django-db-mutex.png :target: https://travis-ci.org/ambitioninc/django-db-mutex django-db-mutex =============== Django-db-mutex provides the ability to acquire a mutex lock from the database in Django. Overview -------- For critical pieces of code that cannot overlap with one another, it is often necessary to acquire a mutex lock of some sort. Many solutions use a memcache lock strategy, however, this strategy can be brittle in the case of memcache going down or when an unconsistent hashing function is used in a distributed memcache setup. If your application does not need a high performance mutex lock, Django DB Mutex does the trick. The common use case for Django DB Mutex is to provide the abilty to lock long-running periodic tasks that should not overlap with one another. Celery is the common backend for Django when scheduling periodic tasks. Installation ------------ To install the latest release, type:: pip install django-db-mutex To install the latest code directly from source, type:: pip install git+git://github.com/ambitioninc/django-db-mutex.git Documentation ------------- Full documentation is available at http://django-db-mutex.readthedocs.org License ------- MIT License (see LICENSE)

Repository

https://github.com/ambitioninc/django-db-mutex.git

Project Slug

django-db-mutex

Last Built

7 months, 3 weeks ago passed

Maintainers

Badge

Tags

database, django, mutex

Short URLs

django-db-mutex.readthedocs.io
django-db-mutex.rtfd.io

Default Version

latest

'latest' Version

master