This is a pure-python TCP load balancer. It takes inbound TCP connections and
connects them to one of a number of backend servers.
Features:
- async i/o based, so much less overhead than fork/thread based balancers. Can
use either twisted or python's standard asyncore library (twisted is
recommended, and asyncore support will be removed in a future version).
- Multiple scheduling algorithms (random, round robin, leastconns,
leastconns+roundrobin)
- If a server fails to answer, it's removed from the pool - the client that
failed to connect gets transparently failed over to a new host.
- XML based configuration file (see a sample)
- separate management thread that periodically re-adds failed hosts if they've
come back up.
- optional builtin webserver for admin (sample of the running screen)
- webserver has methods suitable for both interactive and automated systems
WWW: http://pythondirector.sourceforge.net/
===> The following configuration options are available for pydirector-1.0.0_2:
DOCS=on: Build and/or install documentation
===> Use 'make config' to modify these settings
Convert Python ports to FLAVORS.
Ports using USE_PYTHON=distutils are now flavored. They will
automatically get flavors (py27, py34, py35, py36) depending on what
versions they support.
There is also a USE_PYTHON=flavors for ports that do not use distutils
but need FLAVORS to be set. A USE_PYTHON=noflavors can be set if
using distutils but flavors are not wanted.
A new USE_PYTHON=optsuffix that will add PYTHON_PKGNAMESUFFIX has been
added to cope with Python ports that did not have the Python
PKGNAMEPREFIX but are flavored.
USES=python now also exports a PY_FLAVOR variable that contains the
(Only the first 15 lines of the commit message are shown above )
Remove indefinite articles and trailing periods from COMMENT, plus minor
COMMENT typos and surrounding whitespace fixes. A few Makefiles where not
included as they contain Latin-1 characters that break the Phabricator
workflow. Category N.
CR: D307
Approved by: portmgr (bapt)
Add python director 0.0.7.
This is a pure-python TCP load balancer. It takes inbound TCP
connections and connects them to one of a number of backend servers.
Features:
* async i/o based, so much less overhead than fork/thread based
balancers.
* Multiple scheduling algorithms (random, round robin, leastconns,
leastconns+roundrobin)
* If a server fails to answer, it's removed from the pool - the
client that failed to connect gets transparently failed over to a
new host.
* xml based configuration file
* seperate management thread that periodically re-adds failed hosts
if they've come back up.
* optional builtin webserver for admin (sample of the running
screen)
* webserver has methods suitable for both interactive and automated
systems
WWW: http://pythondirector.sourceforge.net/