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 * 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
20 lines
566 B
Makefile
20 lines
566 B
Makefile
# $NetBSD: Makefile,v 1.1.1.1 2003/11/08 11:48:57 mpasternak Exp $
|
|
#
|
|
|
|
DISTNAME= pydirector-0.0.7
|
|
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
|
CATEGORIES= net
|
|
MASTER_SITES= http://cesnet.dl.sourceforge.net/sourceforge/pythondirector/
|
|
|
|
MAINTAINER= dotz@irc.pl
|
|
HOMEPAGE= http://cesnet.dl.sourceforge.net/sourceforge/pythondirector/
|
|
COMMENT= Pure-python TCP load balancer
|
|
|
|
USE_BUILDLINK2= yes
|
|
PY_PATCHPLIST= yes
|
|
PYDISTUTILSPKG= yes
|
|
|
|
DEPENDS+= ${PYPKGPREFIX}-Twisted-[0-9]*:../../wip/py-twisted
|
|
|
|
.include "../../lang/python/extension.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|