Re: Fisrt access client distribution using hash

From: Karel Charousek <karel.charousek_at_cscargo.cz>
Date: Wed, 21 Mar 2007 10:25:26 +0100

>
>> Is it possible to achieve equal client distribution in this
>> environment using pen?
>
> The hash is intended to give a reasonably equal distribution when used
> with a wide variety of clients, in particular from the Internet.
>
> Do you need to use the hash at all?
>
> What is your complete command line and configuration?

Hello,

we need to use hash to maintain http sessions.

ps command:
/usr/local/bin/pen -C localhost:38010 -l /var/log/pen/http-tebs.log -w
/var/log/pen/http-tebs.html -p /var/run/pen-http-tebs -F
/etc/pen/http-tebs ebs.dmz.cscargo.cz:8010

from /etc/init.d/pen
echo $DAEMON -C $CONTROL -l $LOGS/$1.log -w $STATS/$1.html -p $PIDS-$cf
-F $CF/$1 $LISTEN

# cat /etc/pen/http-tebs
LISTEN=ebs.dmz.cscargo.cz:8010

server 0 address tester.dmz.cscargo.cz
server 0 port 8010

server 1 address ebs2.dmz.cscargo.cz
server 1 port 8010

hash
---------------- end of cat filename ---------------------------------

Regards

Karel Charousek
Received on Wed Mar 21 2007 - 10:59:15 CET

This archive was generated by hypermail 2.2.0 : Wed Mar 21 2007 - 10:59:18 CET