Skip to main content

Apache Curator-compatible discovery service for kazoo

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


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