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.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for balast, version 0.2.0
Filename, size File type Python version Upload date Hashes
Filename, size balast-0.2.0-py2.py3-none-any.whl (15.5 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size balast-0.2.0.tar.gz (15.2 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page