Web Garden
By default, each application pool runs with a single worker process (w3wp.exe). When an application pool runs with multiple worker process, it is called web garden.
Application pool - shyamb4u To Enable Web Garden - Application Pool - Advance Settings - In Process Model - Increase the Number of Worker Process from 1 to any number(max 10) |
Web Farm
When a web application is hosted on multiple web servers and access based on the load on servers, it is called Web Farm.
Webfarm -shyamb4u |
In web farm, a single application is hosted on multiple IIS server and these IIS servers are connected with the VIP (Virtual IP) with load balancer. Load balancer IPs is exposed to external world for accessing your web application. Hence, when a request comes to server from client, it first hits the load balancer, and then based on the traffic on each server; load balancer distributes the request to the corresponding web server.