Skip to main content

Balast client-side load-balancing framework

Project description

https://img.shields.io/pypi/v/balast.svg https://img.shields.io/pypi/status/balast.svg https://travis-ci.org/RadishLLC/balast.svg?branch=master https://coveralls.io/repos/github/RadishLLC/balast/badge.svg?branch=master Documentation Status

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


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)

Uploaded Source

Built Distribution

balast-0.1.0-py2.py3-none-any.whl (14.4 kB view details)

Uploaded Python 2 Python 3

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

Hashes for balast-0.1.0.tar.gz
Algorithm Hash digest
SHA256 d6cac36d9827a20676f1d8b8946452f565a063629287d1d4bf8731e27eb93ec4
MD5 98f7f76a3fa01031c89dfe5d460d8136
BLAKE2b-256 05e7b6ab82a01bdd6accf99eba1e3eab2a9e9fb18b969d01c5ef14ec83a08c95

See more details on using hashes here.

File details

Details for the file balast-0.1.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for balast-0.1.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 34ada70d1eb094ef6fc4579286dd00820ec2eaf9b2f3ab65d86f2919de280951
MD5 1b05a9d937943891a31410058035abaa
BLAKE2b-256 044dcedb8e27db9ca7686916e2823bbe344bdcae81b6a62007e384224ef4977e

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page