Skip to main content

Ballast client-side load-balancing framework

Project description

https://img.shields.io/pypi/v/ballast.svg https://img.shields.io/pypi/status/ballast.svg 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

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

ballast-0.4.0.tar.gz (18.6 kB view details)

Uploaded Source

Built Distribution

ballast-0.4.0-py2.py3-none-any.whl (19.0 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file ballast-0.4.0.tar.gz.

File metadata

  • Download URL: ballast-0.4.0.tar.gz
  • Upload date:
  • Size: 18.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for ballast-0.4.0.tar.gz
Algorithm Hash digest
SHA256 c72569306b3ec8198d8de49a21ecc63f02f97081f3dc4191147e24367d017a4d
MD5 5f610f2f05173b5f99b7e14597dbaaba
BLAKE2b-256 ed4b3f08620341f1f2a802634b3a663d8dd66d85ba9aaf09e8f4beb80ec60ed6

See more details on using hashes here.

File details

Details for the file ballast-0.4.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for ballast-0.4.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 20c4d8a7831dffa8a6f7e924dc7132660df46ac80fd1de26f5ff597d2aa4ee6d
MD5 867a2feb07aff04a7989f4537f92f08e
BLAKE2b-256 2b463f7ce2584a8a76205925c22c382a733096af89ee1773bffab0eb00db11d9

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