Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Load Balancing in Asp.net, what I should consider while development?

While working on one ASP.NET project hosted within web farm including two front ends and load balancing, we got one issue regarding ASP.NET session state while being set to be "InProc", and we found that it's not working properly with load balancing., and we should consider using of "SQLServer" mode.

So, I'm wondering if there are any other points (Sessions, Caching, Security, file uploading, SQL Connections ...), we should take in consideration while development and deployment in such environment.

like image 841
Ahmed Atia Avatar asked Aug 16 '11 20:08

Ahmed Atia


People also ask

When should load balancing be used and what are its benefits?

Load balancing lets you evenly distribute network traffic to prevent failure caused by overloading a particular resource. This strategy improves the performance and availability of applications, websites, databases, and other computing resources. It also helps process user requests quickly and accurately.


1 Answers

Microsoft offers some guidance on this. They have a knowledge base article with links to other resources you'll need.

http://support.microsoft.com/kb/815162

Oh, and as always, ScottGu has an excellent article and a cooler way of doing it. I just found this and it looks very promising: The Microsoft Web Farm Framework http://weblogs.asp.net/scottgu/archive/2010/09/08/introducing-the-microsoft-web-farm-framework.aspx

and the more recent Web Farm Framework Site has plenty of resources available. http://www.iis.net/download/webfarmframework

like image 94
David Avatar answered Nov 15 '22 20:11

David