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.2.0.tar.gz (15.2 kB view details)

Uploaded Source

Built Distribution

balast-0.2.0-py2.py3-none-any.whl (15.5 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file balast-0.2.0.tar.gz.

File metadata

  • Download URL: balast-0.2.0.tar.gz
  • Upload date:
  • Size: 15.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for balast-0.2.0.tar.gz
Algorithm Hash digest
SHA256 ab8b784abbc01baf2a35d4e43a058eae6d0785c698f36f7dabdc68f24988436a
MD5 b013c705e4e622573cfb7aa3c0cddc42
BLAKE2b-256 185f3663ae0639f86e880cdd00e9ef6e5ee0f252927817e669f36e0e734a299b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for balast-0.2.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 46826892ecb90e890565db5e582844feeeb7ffad56f9fb706c92b66f36404d5a
MD5 6a9e4ec527c2819f2d80cace7c428a3a
BLAKE2b-256 f2e2cef008bf9e9f899d9e48710bb537c33a53c5d7c586a3be78edef2a2de3cf

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