Hello,

Yes I know that session stickyness is enabled and this is what we need.
The problem is that when we make load tests with for example 10 concurrent new users and 5 backend servers, we noticed that some servers handle for example 4 users and other servers handle only one. Is it normal?

Cheers,

Johan




----- Original Message ----- From: "Angelo Höngens" <[email protected]>
To: <[email protected]>
Sent: Tuesday, August 18, 2009 4:41 PM
Subject: Re: round robin


On 18-8-2009 16:34, Johan Duflost wrote:
Hello,

Here is an excerpt of our config file :

        appsession ASP.NET_SessionId len 52 timeout 1h
        cookie ASP.NET_SessionId prefix
        option persist
        balance roundrobin
        option forwardfor
        option httpclose
        server 1 xx.xx.xx.xx:80 cookie 1 check inter 3000 rise 2 fall 3
        server 2 xx.xx.xx.xx:80 cookie 2 check inter 3000 rise 2 fall 3
        server 3 xx.xx.xx.xx:80 cookie 3 check inter 3000 rise 2 fall 3

Did you see anything special that could explain this behavior?

Well, to my best knowledge (but please correct me if I'm wrong), the
'cookie' option make sure you have session stickyness.

With session stickyness, you don't have perfect balancing, since, well..
users stick around :-) Some user's sessions take 10 seconds, others will
take 10 minutes, and only new users (which) don't have a cookie will be
round-robin sent to a new server.

If you do want perfect balancing, you have to turn off stickyness. But
that might mean you have to adapt your ASP.NET application to non-sticky
sessions (if you need server-side user sessions, you'll have to do
something like storing the sessions in a central db, and identifying
users by cookies or something like that, like all big players do).


--


With kind regards,


Angelo Höngens
systems administrator

MCSE on Windows 2003
MCSE on Windows 2000
MS Small Business Specialist
------------------------------------------
NetMatch
tourism internet software solutions

Ringbaan Oost 2b
5013 CA Tilburg
+31 (0)13 5811088
+31 (0)13 5821239

[email protected]
www.netmatch.nl
------------------------------------------






--------------------------------------------------------------------------------



No virus found in this incoming message.
Checked by AVG - www.avg.com
Version: 8.5.392 / Virus Database: 270.13.59/2310 - Release Date: 08/17/09 18:04:00


Reply via email to