./net/pen, Load balancer for simple tcp based protocols

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: pkgsrc-2019Q3, Version: 0.34.1, Package name: pen-0.34.1, Maintainer: pkgsrc-users

Pen is a load balancer for "simple" tcp based protocols such as http or
smtp. It allows several servers to appear as one to the outside and
automatically detects servers that are down and distributes clients among
the available servers. This gives high availability and scalable
performance.

The load balancing algorithm keeps track of clients and will try to
send them back to the server they visited the last time. The client
table has a number of slots (default 2048, settable through command-line
arguments). When the table is full, the least recently used one will
be thrown out to make room for the new one.

This is superior to a simple round-robin algorithm, which sends a client
that connects repeatedly to different servers. Doing so breaks
applications that maintain state between connections in the server,
including most modern web applications.

When pen detects that a server is unavailable, it scans for another
starting with the server after the most recently used one. That way
we get load balancing and "fair" failover for free.


Required to build:
[pkgtools/cwrappers]

Master sites:

SHA1: 7a1d8a86ab711e217e19bd8ef5c5fea07f3284e5
RMD160: 79ef42beebc32a9fcf25f3b59d52509650bfea42
Filesize: 180.295 KB

Version history: (Expand)