Ballast client-side load-balancing framework
Framework for client-side load-balancing for inter-process communication between cloud services.
It is inspired in large part by Netflix’s Ribbon for java.
How to Use
In its most basic form, you can create a ballast.Service with a static list of servers:
>>> import ballast >>> my_service = ballast.Service(['127.0.0.1', '127.0.0.2'])
Now, just use it as you would use the requests package:
>>> response = my_service.get('/v1/path/to/resource') <Response>
NOTE: at this point in time, only the basic api features from the requests package are supported.
For advanced usage, checkout the docs
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|File Name & Checksum SHA256 Checksum Help||Version||File Type||Upload Date|
|ballast-0.4.9-py2.py3-none-any.whl (19.5 kB) Copy SHA256 Checksum SHA256||py2.py3||Wheel||Aug 18, 2017|
|ballast-0.4.9.tar.gz (18.9 kB) Copy SHA256 Checksum SHA256||–||Source||Aug 18, 2017|