Link to home
Start Free TrialLog in
Avatar of vu3lmg
vu3lmgFlag for United States of America

asked on

load balancing a web application

I am developing an ASP.NET web application with will run with A10 Model AX3030 for load balancing.

The users will connect to a computer through VPN or Terminal Server and from there they will click on a IE shortcut with URL pointing to the load balancer.

Since all the request to load balancer will originate from the same machine,
do I need to do anything special in the web application that will help the load balancer ?
Avatar of giltjr
giltjr
Flag of United States of America image

Not familiar with the AX3030.  How does it choose to load balance the traffic?

As to your web application, do you have to authenticate?  If so do all http requests from a single user have to go back to the same server?  That is do you require sticky/persistent  sessions?

If so they somehow between your app and the AX3030 you will need to differentiate between user#1 and user#2 when the have the same IP address.
Avatar of vu3lmg

ASKER

Dear giltjr

Thanks for the quick response.

Yes my application does authenticate each user.  
Yes all http requests from a single user have to go to the same web-server.

Can A10 load balancer use the ASP.NET_SessionId cookie to distinguish requests from different users ?
SOLUTION
Avatar of giltjr
giltjr
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of vu3lmg

ASKER

Dear giltjr

I am studying the document you've mentioned. In the mean time can you please reply my last question above (do I need to do anything special in the web application that will help the load balancer ?).
No.
Avatar of vu3lmg

ASKER

Dear giltjr
Thanks for the above reply.

I am planning to write an aFlex script that will check for value of the cookie named ASP.NET_SessionId for persistence.  
Is that a correct approach ?
Yes.  If A10 does not provide samples, I'll point you to a F5 sample that you you should be able to convert easily.
Avatar of vu3lmg

ASKER

Please send me the links to F5 sample.
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of vu3lmg

ASKER

Got the concept.  Will get back if I have more questions.
Thanks for the quick replies.