ballast 0.4.0
pip install ballast
Latest version
Released:
Ballast client-side load-balancing framework
Navigation
Unverified details
These details have not been verified by PyPIProject links
Meta
- License: Apache Software License (Apache License 2.0)
- Author: Justin Smith
- Tags alpha, development, load-balancing
Classifiers
- Development Status
- Intended Audience
- License
- Programming Language
- Topic
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 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[200]>
NOTE: at this point in time, only the basic api features from the requests package are supported.
For advanced usage, checkout the docs
Project details
Unverified details
These details have not been verified by PyPIProject links
Meta
- License: Apache Software License (Apache License 2.0)
- Author: Justin Smith
- Tags alpha, development, load-balancing
Classifiers
- Development Status
- Intended Audience
- License
- Programming Language
- Topic
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
Built Distribution
File details
Details for the file ballast-0.4.0.tar.gz
.
File metadata
- Download URL: ballast-0.4.0.tar.gz
- Upload date:
- Size: 18.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c72569306b3ec8198d8de49a21ecc63f02f97081f3dc4191147e24367d017a4d |
|
MD5 | 5f610f2f05173b5f99b7e14597dbaaba |
|
BLAKE2b-256 | ed4b3f08620341f1f2a802634b3a663d8dd66d85ba9aaf09e8f4beb80ec60ed6 |
File details
Details for the file ballast-0.4.0-py2.py3-none-any.whl
.
File metadata
- Download URL: ballast-0.4.0-py2.py3-none-any.whl
- Upload date:
- Size: 19.0 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 20c4d8a7831dffa8a6f7e924dc7132660df46ac80fd1de26f5ff597d2aa4ee6d |
|
MD5 | 867a2feb07aff04a7989f4537f92f08e |
|
BLAKE2b-256 | 2b463f7ce2584a8a76205925c22c382a733096af89ee1773bffab0eb00db11d9 |