Skip to main content
Help improve PyPI by participating in a 5-minute user interface survey!

Ballast client-side load-balancing framework

Project Description

https://travis-ci.org/thomasstreet/ballast.svg?branch=master https://coveralls.io/repos/github/thomasstreet/ballast/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 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

Release history Release notifications

This version
History Node

0.4.0

History Node

0.3.0

History Node

0.2.0

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
ballast-0.4.0-py2.py3-none-any.whl (19.0 kB) Copy SHA256 hash SHA256 Wheel py2.py3 May 23, 2017
ballast-0.4.0.tar.gz (18.6 kB) Copy SHA256 hash SHA256 Source None May 23, 2017

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page