skip to navigation
skip to content

ballast 0.4.0

Ballast client-side load-balancing framework

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

 
File Type Py Version Uploaded on Size
ballast-0.4.0-py2.py3-none-any.whl (md5) Python Wheel py2.py3 2017-05-23 18KB
ballast-0.4.0.tar.gz (md5) Source 2017-05-23 18KB