django-balancer 0.4

A set of tools for using Django's multi-db feature to balance database requests
<object data="https://img.shields.io/pypi/dw/django-balancer.svg" type="image/svg+xml">PyPI download statistics</object>

A set of tools for using Django's multi-db feature to balance database requests between multiple replicated databases. It currently provides some basic routers for using weighted random selection or round robin selection with a pool of databases, following a master/slave layout where the slaves are read-only copies of master, and pinning reads to master for a user after that user completes a write.

Since everything is implemented using base classes and mixins, this also serves as a construction kit for creating your own more complex routers. Feel free to contribute routers, and I'll be happy to incorporate them into the project.

Install

Install django-balancer via pip

$ pip install django-balancer

or, with easy_install

$ easy_install django-balancer

But, hey... that's up to you.

License :: OSI Approved :: BSD License

Author

Brandon Konkle, Mike Helmick

Pip

django-balancer==0.4

Classifiers

  • Framework :: Django
  • Intended Audience :: Developers
  • Development Status :: 3 - Alpha
File Type Python Version Uploaded On Downloads
django-balancer-0.4.tar.gz Source July 6, 2015 2,121
Version Release Date
0.4 July 6, 2015
0.3 Oct. 29, 2010
0.3a1 Oct. 21, 2010
0.2 Oct. 20, 2010
0.2a1 Oct. 20, 2010
0.1 Oct. 18, 2010
Date Package Version Action
Aug. 24, 2015, 10:58 p.m. django-balancer 0.2a1 Release Created
Aug. 24, 2015, 10:58 p.m. django-balancer 0.3a1 Release Created
Aug. 24, 2015, 10:58 p.m. django-balancer 0.4 Release Created
Aug. 24, 2015, 10:58 p.m. django-balancer 0.2 Release Created
Aug. 24, 2015, 10:58 p.m. django-balancer 0.3 Release Created
Aug. 24, 2015, 10:58 p.m. django-balancer 0.1 Release Created
Aug. 24, 2015, 10:58 p.m. django-balancer Package Created