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 details)
Built Distribution
File details
Details for the file balast-0.1.0.tar.gz
.
File metadata
- Download URL: balast-0.1.0.tar.gz
- Upload date:
- Size: 14.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d6cac36d9827a20676f1d8b8946452f565a063629287d1d4bf8731e27eb93ec4 |
|
MD5 | 98f7f76a3fa01031c89dfe5d460d8136 |
|
BLAKE2b-256 | 05e7b6ab82a01bdd6accf99eba1e3eab2a9e9fb18b969d01c5ef14ec83a08c95 |
File details
Details for the file balast-0.1.0-py2.py3-none-any.whl
.
File metadata
- Download URL: balast-0.1.0-py2.py3-none-any.whl
- Upload date:
- Size: 14.4 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 34ada70d1eb094ef6fc4579286dd00820ec2eaf9b2f3ab65d86f2919de280951 |
|
MD5 | 1b05a9d937943891a31410058035abaa |
|
BLAKE2b-256 | 044dcedb8e27db9ca7686916e2823bbe344bdcae81b6a62007e384224ef4977e |