Riverdrums Load Balancer project is a no-frills, event-driven load balancer aimed at clarity and efficiency.
Compiling:
1. Install libevent
2. gcc -Wall -O2 -o rlb rlb.c -levent
Solaris:
a) cc -Wall -O2 -o rlb rlb.c -lnsl -lsocket -levent
Usage:
$ rlb -p port [-b addr] [-B addr] -h host:service[:max] [-h host:service[:max] ...] [-m max] [-t timeout] [-c check interval] [-s bufsize] [-n servers] [-f]
Requirements:
· libevent
What's New in This Release:
· This version of the Riverdrums Load Balancer concentrates on separating the buffers used for holding data from the connection structures used for tracking client/server sockets.
· It enables optimal allocation and closing of data channels and more efficient connection management.
· Additionally, several conditions relating to full buffers were catered for, and socket closure is more aggressive.