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

License

GPL

Metadata

Release files for greenbalance 0.0.2

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.2
File Size Uploaded Provenance Actions
greenbalance-0.0.2.tar.gz 2.9 kB Without provenance Details for greenbalance-0.0.2.tar.gz

Release files / greenbalance-0.0.2.tar.gz

Download URL greenbalance-0.0.2.tar.gz
Size 2.9 kB
Tags Source
SHA-256 checksum
How to use checksums
0810be3b58334fbd70ee293adca65c5cb48b6a1a50dad06ada1e2ec257e60eab
BLAKE2b-256 checksum
How to use checksums
7532bc23ede30440094f9b369452d372699ac5ffffba43b93fcf2b5dfab62723
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for greenbalance 0.0.2

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