IIS - web garden and web farm using asp.net state service
Asked By karur krishna madhu on 29-Jun-13 08:16 PM
web farm-single instance of web app on multiple instances of IIS in diff machine.
as we have more than 1 iis instance so inproc wont work
we need to use out proc
and in that sql server or state service
if i use state service which is a service running in a specific machine and it would work fine for web garden as the iis instances will be in same machine and coming to web farm iis instances are in diff machines then how would asp.net state service work if the iis instances are in diff machines? should we use IPC (inter process communication ) to communicate? does state service work in web farm ? or we need to go for sql server if it is a web farm?
Robbe Morris replied to karur krishna madhu on 29-Jun-13 08:18 PM
asp.net state server is notoriously flaky. The best product on the market for managing session across a web farm is ScaleOut State Server. I used this when I was a Sr. .NET Engineer at the biggest IT research firm in the world, Gartner. It is incredibly easy to set up and implement in your existing application with only a minor modification to your web.config.
https://www.nullskull.com/articles/scaleout_server.asp