July 3, 2020

Difference between Web Garden and Web Farm in IIS


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.

June 12, 2020

What are differences between Always ON and SQL Server Clustering?

Always On is a commercial name for a set of High Availability features that include Fail-over Cluster Instances and Availability Groups.
The main difference is that a clustered instance has the same binaries installed and configured on two or mode cluster nodes (physical or virtual machines) and the database files are sitting on a shared disk. Only one node at a time can own the data disks and run the SQL Server instance (active node) and all other nodes are said to be passive. When the node fails for any reason, the disks are moved to one of the passive nodes and the service is started, making it the active node. All clients connecting to the clustered instance use its virtual network name, which is moved to the active node, ensuring that all clients are able to connect to the active node.
With Availability Groups, two or more copies of the same database are synchronized across multiple nodes. In this case you don't have a single copy of the database files, but you have multiple copies (replicas). One of those copies is read/write, while all other copies are read-only. To ensure that the clients are connecting to the appropriate replica, a virtual network name (listener) is used, which is similar to what the cluster virtual network name does. With an additional connection string property, you can control whether you're hitting the read/write or read-only replica

January 8, 2020

What is SaaS, IaaS & PaaS?

The cloud is a hot topic for small businesses all the way to global enterprises, but remains a broad concept that covers a lot of online territory. There are usually three models of cloud service to compare: Software as a Service (SaaS), Platform as a Service (PaaS), and Infrastructure as a Service (IaaS). Each of these has its own benefits, as well as variances, and it is necessary to understand the differences among SaaS, PaaS, and IaaS to know how to best choose one for your organization.
  • SaaS: Software as a Service
Software as a Service, also known as cloud application services, represents the most commonly utilized option for businesses in the cloud market. SaaS utilizes the internet to deliver applications, which are managed by a third-party vendor, to its users. A majority of SaaS applications run directly through your web browser, which means they do not require any downloads or installations on the client side.
SaaS Characteristics :
There are a few ways to help you determine when SaaS is being utilized:
·     Managed from a central location
·     Hosted on a remote server
·     Accessible over the internet
·     Users not responsible for hardware or software updates