Hello all,
I've been working with ASP.NET for a bit now, and have set up a load-balanced cluster of two Windows 2003 servers (IIS 6.0) for a web app I wrote, and am using the "StateServer" method of storing session data out of process. So, the two servers are both pointed to a third server where the state service resides, on the back-end.
Unfortunately, I haven't been able to get load-balancing to work properly in "StateServer" mode. Ideally, I would like to use an affinity setting of "None" with my app servers so that the load balancing is evenly distributed, but when I am using "None", I am constantly losing sessions. If I switch affinity mode to "Single" then I stop losing sessions, but the load balancing isn't as even since users are stuck going to one server or the other.
I have switched over to "SQLServer" to see if that would solve the problem. Oddly enough, I don't lose sessions anymore, but I take a huge performance hit.
Has anyone run into this before? Anyone with a possible fix? I need to get this to work in "StateServer", I can't use a SQL server as a long term fix, and getting the cluster evenly balanced would get rid of several headaches that "Single" affinity is causing.
Any comments/questions would definitely be appreciated!
Start Free Trial