Answer: Web garden and web farms are asp.net applications that serve the purpose when the
user base of a web site increases considerably.
Web garden is a web application running on a single computer with multiple
processors but Web farm is a web application running on multiple servers. The
benefit of using this is, if one server crashes then other will work instantly.
For Web garden/Web Farm configurations, we have to set sessionState mode to
StateServer/SQLServer in the web.config file.
For Web Garden, we have to use
<processModel webGarden="true"/>
in Machine.Config file.
Web Farm is implemented using techniques like Net Work Load Balancing.
Asked In: Many Interviews |
Alert Moderator