Skip to main content
http://www.flickr.com/photos/gorupka/2343360380/

greenbalance

greenbalance is a TCP loadbalancer with round-robin and weighted random support built on gevent and wr

greenbalance.conf is by default installed to /etc/greenbalance.conf

Usage

$ greenbalance --port 8080 --config /path/to/my.config

Example greenbalance.conf

[settings]
host = 0.0.0.0           # Bind to this (0.0.0.0 = all)
port = 3001              # Listening port.

[nodes]
backend1 3101 = 20       # will serve 20% of the requests.
192.168.100.7 3102 = 40  # will serve 40% of the requests.
localhost 3103 = 40      # will serve 40% of the requests.

Installation

  • Ubuntu: sudo apt-get install python-pip python-gevent; sudo pip install --upgrade pip

Install greenbalance with sudo pip install greenbalance sudo is needed because the configuration file will be written to /etc

Documentation

Documentation is available at readthedocs.org

License

GPL

Metadata

Release files for greenbalance 0.0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for greenbalance 0.0.3
File Size Uploaded Provenance Actions
greenbalance-0.0.3.tar.gz 3.0 kB Without provenance Details for greenbalance-0.0.3.tar.gz

Release files / greenbalance-0.0.3.tar.gz

Download URL greenbalance-0.0.3.tar.gz
Size 3.0 kB
Tags Source
SHA-256 checksum
How to use checksums
06d849bc45c7f4b140ce1ce0bced68e51dd436b6c807eb2f0511fab858a25dac
BLAKE2b-256 checksum
How to use checksums
4393d93a3b35a92dd058b74964596b06d9a3ec83f9151df24b23c33e084e618b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for greenbalance 0.0.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page