How to increase IIS Performance?

 In case of cloud, there is an option of Auto scaling web apps, but this would be a different scenario for on premises infrastructure since we need to manually scale up the resources based on the receiving traffic.



When you say sudden increase of traffic, if that’s unexpected and kind of DDOS attack then we can use Imperva tool which will secure the environment by avoiding DDOS attacks. But if you are expecting a traffic for next 6 months may be like a demand or clearance sale of product, then we can follow below precautions. 

There are several steps and procedures that can be taken to prevent the load and traffic on the server. Some of them rely on the organization's infrastructure, application, and requirements. From my perspective, we can use the below methods to prevent the application from extensive load to prevent the application failures. 

1.If you really expect a traffic in next 6 months, then it’s a wise decision to scale up the VM’s that can handle the heavy load, like increasing the count of servers or increasing the resources in existing servers. I would prefer increasing the servers since it is easy to remove after the demand goes off.

2.Monitoring and implementing load balancing algorithms and optimizing the application will help in improving the performance of the application and prevent the traffic overload.

3.Making sure the network capacity is good so that the users may not face congestion or slow speed while accessing the application. 

4.Frequent implementation of load testing in prod & non prod environments to evaluate the potential growth. 

5.We can increase the of Threads Per Processor Limit, the default value is 25. The maximum recommended value for this property is 100.

6.We can implement Output Caching, IIS has kernel-mode and user-mode components. By enabling this, we can avoid the load on actual servers.

7.By implementing Dynamic Compression, IIS compresses the static content (images, CSS files, HTML files etc.) by default to reduce the bandwidth used for requests. By enabling the compression for dynamic content such as ASP.NET pages, you can save bandwidth for dynamic content as well.

8.We can implement HTTP Expires Header configuration. This option helps you minimize the number of requests to the IIS Server. The HTTP expires header helps the client browser to cache the web pages and its elements, like CSS, images etc.

. Thank you for both, I had a very good productive time which helped me revise my knowledge and also remembering my past memories as a captain and my achievements. Means a lot to me.


Post a Comment

Previous Post Next Post