{
"info": {
"author": "Daniel Waardal",
"author_email": "waawal@boom.ws",
"bugtrack_url": null,
"classifiers": [
"Development Status :: 3 - Alpha",
"Environment :: Web Environment",
"Intended Audience :: Developers",
"Intended Audience :: System Administrators",
"License :: OSI Approved :: GNU General Public License (GPL)",
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
"Programming Language :: Python",
"Programming Language :: Python :: 2.6",
"Programming Language :: Python :: 2.7",
"Topic :: Communications",
"Topic :: Internet",
"Topic :: System :: Systems Administration"
],
"description": ".. image:: http://farm4.staticflickr.com/3043/2343360380_fdbd835cff_t.jpg\n :alt: http://www.flickr.com/photos/gorupka/2343360380/\n :align: right\n :target: http://www.flickr.com/photos/gorupka/2343360380/\n\ngreenbalance\n============\n\n*greenbalance is a simple TCP load balancer with round-robin and weighted random support built on* ``gevent`` *and* ``wr``.\n\nUsage\n=====\n\nSimple example; this will make the load balancer listen on port 8080 and use a custom configuration.\n::\n\n $ greenbalance --port 8080 --config /path/to/my.config\n\nArguments\n---------\nArguments accepted by the ``greenbalance`` command.\n\n--version\n Show program's version number and exit.\n-h, --help\n Show this help message and exit.\n-H, --host\n IP or Hostname.\n-p, --port\n Listening Port.\n-c, --config\n Configuration file.\n-l, --logfile\n Log File\n-L, --loglevel\n Log Level (debug, info, warning, error, critical)\n\n\n\ngreenbalance.conf\n-----------------\n\n``greenbalance.conf`` is by default placed in ``/etc`` if the package was intalled with root privileges. If you have the package installed in a virtualenv you will have to create a configuration file manually and pass it with the ``--config`` or ``-c`` argument.\n\n::\n\n [settings]\n host = 0.0.0.0 # Bind to this (0.0.0.0 = all)\n port = 3001 # Listening port.\n\n [logging]\n loglevel = debug\n logfile = /var/log/greenbalance.log\n\n [nodes]\n backend1 3101 = 20 # will serve 20% of the requests.\n 192.168.100.7 3102 = 40 # will serve 40% of the requests.\n localhost 3103 = 40 # will serve 40% of the requests.\n\nInstallation\n============\n\n*See below for OS-specific preparations.*\n\nInstall *greenbalance* with:\n\n::\n\n sudo pip install greenbalance\n\nUbuntu\n------\n\n::\n\n sudo apt-get install python-pip python-gevent; sudo pip install --upgrade pip\n\nCentOS\n------\nInstall ``python-pip`` and ``python-gevent`` from ``epel``.\n\nDocumentation\n=============\nDocumentation is available at `readthedocs.org `_\n\nLicense\n=======\n`GPL `_",
"description_content_type": null,
"docs_url": null,
"download_url": "UNKNOWN",
"downloads": {
"last_day": -1,
"last_month": -1,
"last_week": -1
},
"home_page": "https://github.com/waawal/greenbalance",
"keywords": null,
"license": "gpl",
"maintainer": null,
"maintainer_email": null,
"name": "greenbalance",
"package_url": "https://pypi.org/project/greenbalance/",
"platform": "any",
"project_url": "https://pypi.org/project/greenbalance/",
"project_urls": {
"Download": "UNKNOWN",
"Homepage": "https://github.com/waawal/greenbalance"
},
"release_url": "https://pypi.org/project/greenbalance/0.2.0/",
"requires_dist": null,
"requires_python": null,
"summary": "Load Balancer for TCP.",
"version": "0.2.0"
},
"last_serial": 792690,
"releases": {
"0.0.1": [
{
"comment_text": "",
"digests": {
"md5": "c23e77d9ce180149d50fcc84c7e6705b",
"sha256": "0c359e4f4beeb57e7c21a4828b435c728979b516c016dc825f925a89652db829"
},
"downloads": -1,
"filename": "greenbalance-0.0.1.tar.gz",
"has_sig": false,
"md5_digest": "c23e77d9ce180149d50fcc84c7e6705b",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 2892,
"upload_time": "2012-05-08T12:34:53",
"url": "https://files.pythonhosted.org/packages/a1/9f/1115b24c5600c67b81065266ba7ef99be44b5e26f1dc24a8546ebccb925e/greenbalance-0.0.1.tar.gz"
}
],
"0.0.2": [
{
"comment_text": "",
"digests": {
"md5": "adfe5e891a51b12c5953dc2fc5c4f259",
"sha256": "0810be3b58334fbd70ee293adca65c5cb48b6a1a50dad06ada1e2ec257e60eab"
},
"downloads": -1,
"filename": "greenbalance-0.0.2.tar.gz",
"has_sig": false,
"md5_digest": "adfe5e891a51b12c5953dc2fc5c4f259",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 2877,
"upload_time": "2012-05-08T12:44:48",
"url": "https://files.pythonhosted.org/packages/75/32/bc23ede30440094f9b369452d372699ac5ffffba43b93fcf2b5dfab62723/greenbalance-0.0.2.tar.gz"
}
],
"0.0.3": [
{
"comment_text": "",
"digests": {
"md5": "2e70afcec6c85927626638c615d50088",
"sha256": "06d849bc45c7f4b140ce1ce0bced68e51dd436b6c807eb2f0511fab858a25dac"
},
"downloads": -1,
"filename": "greenbalance-0.0.3.tar.gz",
"has_sig": false,
"md5_digest": "2e70afcec6c85927626638c615d50088",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 3040,
"upload_time": "2012-05-08T13:52:05",
"url": "https://files.pythonhosted.org/packages/43/93/d93a3b35a92dd058b74964596b06d9a3ec83f9151df24b23c33e084e618b/greenbalance-0.0.3.tar.gz"
}
],
"0.1.0": [
{
"comment_text": "",
"digests": {
"md5": "6a072bd20aadf59b079d5f6ee9533d2a",
"sha256": "353d24b4fb5c1d7b246a3c8606c89b3a329773220862737568908c136a000cf5"
},
"downloads": -1,
"filename": "greenbalance-0.1.0.tar.gz",
"has_sig": false,
"md5_digest": "6a072bd20aadf59b079d5f6ee9533d2a",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 3462,
"upload_time": "2012-05-09T15:00:46",
"url": "https://files.pythonhosted.org/packages/f5/9a/26f4d8367fa380722810bdf90ca15e75862f014832729e4fd45bc44a7a1a/greenbalance-0.1.0.tar.gz"
}
],
"0.2.0": [
{
"comment_text": "",
"digests": {
"md5": "0a7d05a3aaab0001d951320d71829a24",
"sha256": "a44520e1ce422e02ca00712d568bf78e53d70890ca231b363b875f66ce8a2024"
},
"downloads": -1,
"filename": "greenbalance-0.2.0.tar.gz",
"has_sig": false,
"md5_digest": "0a7d05a3aaab0001d951320d71829a24",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 4297,
"upload_time": "2012-05-10T09:18:05",
"url": "https://files.pythonhosted.org/packages/15/e2/d2e141ad3c0a8daf76b709476504491051e146e72c271f12586f92f9f458/greenbalance-0.2.0.tar.gz"
}
]
},
"urls": [
{
"comment_text": "",
"digests": {
"md5": "0a7d05a3aaab0001d951320d71829a24",
"sha256": "a44520e1ce422e02ca00712d568bf78e53d70890ca231b363b875f66ce8a2024"
},
"downloads": -1,
"filename": "greenbalance-0.2.0.tar.gz",
"has_sig": false,
"md5_digest": "0a7d05a3aaab0001d951320d71829a24",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 4297,
"upload_time": "2012-05-10T09:18:05",
"url": "https://files.pythonhosted.org/packages/15/e2/d2e141ad3c0a8daf76b709476504491051e146e72c271f12586f92f9f458/greenbalance-0.2.0.tar.gz"
}
]
}