At Monitis, we want your IIS monitoring and IIS management to go as smoothly as possible. Our goal is to provide high uptime for your IIS web server, and to that end, we are providing a series of tips to keep your Microsoft IIS server at its optimal performance.
In the second of our three-part series on Microsoft IIS server tips, we will cover software based IIS performance tips that will keep your IIS web server running at its peak. If you missed our first article, you can find it here – Top 8 Application-Based IIS Server Performance Tips. This first article includes an introduction to IIS and the top eight tips for application based IIS optimization.
The following are our top four software-based tips that improve IIS performance:
1. Enable output caching
Enabling output caching allows IIS to keep a copy of previously requested pages in memory. Subsequent requests will be returned from memory, and the IIS server will not have to reprocess them. The advantage of enabling output caching is clearer when this feature is used with dynamic web content (for example, with an ASP.NET page that queries a SQL database for data to return to the client).
Output caching can be configured on the IIS server or within individual websites on IIS. Using Caching Rules, specify what is cached, for how long, and when to force the server to reprocess the content.
The timeout interval relies on how often the data changes in the web content. It is also possible to configure the File Caching Monitor to time out what is cached after either a specified amount of time or when a file changes.
2. Use of Windows Server Resource Manager (WSRM)
WSRM enables administrators to control the allocation of server resources such as the CPU and RAM to applications, services, and processes in IIS. This way of IIS management to administer IIS resources improves system performance and reduces interference with applications, services, or processes. In addition, it creates a more consistent and predictable experience for users with regards to applications and services running on the computer.
3. Enforce caching
All modern web browsers such as Internet Explorer, Safari, or Firefox can use a local cache, which improves the browsing experience by temporary storing copies of web pages, images, and media on a computer’s hard disk.
The data stored within a cache might include values that have been computed earlier or duplicates of original values that are stored elsewhere. For example, this cache is used when users hit the back button or click a link to see a page they’ve just visited.
Web caching plays crucial role in IIS performance:
- To reduce user-perceived website delays
- To reduce network bandwidth usage
- To reduce server loads
4. Optimize memory usage
Microsoft IIS servers utilize a lot of physical memory, which can be seen in IIS monitoring tools. More physical memory means more memory available to IIS, and therefore, better performance.
Without adding RAM, IIS memory performance can be optimized by:
- Improving data organization by keeping related web files on the same logical partitions of a disk
- Increasing the efficiency of high-traffic websites
- Adding or expanding paging files on each available physical partition
These software based IIS management tips can optimize the performance of your IIS server. For more tips, keep watch for the third article in our series, which contains the third piece of the puzzle: feature based tips to improve your web server’s performance.