Balast client-side load-balancing framework
Project description
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 balast.Service with a static list of servers:
>>> import balast >>> my_service = balast.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[200]>
NOTE: at this point in time, only the basic api features from the requests package are supported.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
balast-0.1.0.tar.gz
(14.6 kB
view hashes)
Built Distribution
balast-0.1.0-py2.py3-none-any.whl
(14.4 kB
view hashes)
Close
Hashes for balast-0.1.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 34ada70d1eb094ef6fc4579286dd00820ec2eaf9b2f3ab65d86f2919de280951 |
|
MD5 | 1b05a9d937943891a31410058035abaa |
|
BLAKE2b-256 | 044dcedb8e27db9ca7686916e2823bbe344bdcae81b6a62007e384224ef4977e |