Windows IT Pro is the authoritative and independent resource for windows nt, windows 2000, windows 2003, windows xp. Features a collection of resources and magazines for windows IT professionals.
  
  
  Advanced Search 


December 2000

IIS Informant

RSS
Subscribe to Windows Web Solutions | See More Permissions Articles Here | Reprints | Or get the Monthly Online Pass—only $5.95 a month!

Download the Code Here

I'm launching a Web site and trying to determine what kind of computer I need. Do guidelines or references exist to help me with this decision?

This question is common and difficult. No formulaic answer exists because a great deal depends on the specifics of your circumstance. How many simultaneous users are you expecting? What's your average page size? Are you using dynamic content? Do you need Secure Sockets Layer (SSL)? All these questions are important and will direct you in making a decision about how big and fast your IIS server hardware must be. Rather than try to create a formula, I'll provide some general guidelines that can help.

Perhaps the most underappreciated aspect of IIS is its ability to deliver content quickly when running on modest servers. I continually run across sites that are delivering substantial volumes with smaller computers than you might imagine. For example, I recently encountered an IIS server delivering 1 million page views a month running on a machine with a 500MHz Pentium II processor and 256MB of RAM. This machine connected to a Microsoft SQL Server machine delivering database queries.

Bear in mind that 1 million hits daily isn't a particularly heavy load when it's distributed evenly over 24 hours. (It works out to about 11.5 hits per second.) If you're delivering an average of 10KB per hit, you need a computer that can deliver 115KBps of content, which is no problem for a basic Pentium system. This example presumes static HTML because you need more processing power to deliver that much data through Active Server Pages (ASP). Also, you need to consider that traffic is rarely distributed evenly over a 24-hour period; peak traffic occurs around noon on public Web servers. It's the old 80/20 rule at its finest—80 percent of your traffic will occur within 4 hours every day.

The point here is that most sites don't need Quad Xeon CPUs, 1GB of RAM, and Ultra SCSI RAID 10 systems to deliver significant volumes of content. Each situation differs. Clearly, if you have complex applications to deliver to tens of thousands of users, you need more horsepower than just straight HTML.

By far, the most significant performance characteristic of an IIS server is the amount of RAM available. You want to be liberal in your estimates of RAM. If you oversize, it won't cost you in overhead, and you can grow into it. In contrast, if you add CPUs you don't need, your system can spend more time managing the additional complexity of extra CPUs than benefiting from the additional computing capacity. The reason available RAM makes such a difference is that the more RAM you have, the more file caching can be accommodated. Caching makes all the difference in delivery time.

To take performance further, your system will obviously benefit from fast hard disks and CPUs. Using multiple-CPU machines is common for heavy-duty Web servers. Hardware-or software-load-balanced clusters of Web servers are the absolute maximum performance you can achieve; such servers are the current state of the art in delivering access to high-volume e-commerce sites. You need reliable network bandwidth to match your megaservers, or you've done little more than put a jet engine on a go-cart—a lot of power, but no vehicle.

I would be remiss if I didn't point out that IIS 5.0 is significantly faster than IIS 4.0, so a quick way to gain performance improvements without necessarily upgrading your hardware is to upgrade to IIS 5.0. (For information about upgrading, see my article "Upgrading to IIS 5" at http://www.iisanswers.com.)

The best you can do is stress-test your servers in as realistic an environment as possible. Such testing can turn up deficiencies of scale that aren't obvious under smaller loads. The biggest problems can occur when you're completely optimized in terms of hardware and OS tuning only to realize that your Web application simply can't manage the loads you need it to bear. This problem can occur for several reasons, such as the use of COM components that aren't fully optimized for multithreading (as in Microsoft Visual Basic—VB—components) or implementing inefficient designs that are unnecessarily complex. When you encounter such bottlenecks, you can do little other than start recoding your software. For this reason, stress testing is essential. (See Related Reading for stress-testing resources.)

I'm running two Windows NT 4.0 servers: Server A is the PDC, and server B runs IIS and is a member of the domain that the PDC manages. Server A has a directory in which I keep ASP scripts. On that folder, NTFS permissions let a user on the PDC and a local user on server B access the files. When I try to use Microsoft Internet Explorer (IE) to access the ASP scripts, the local account authenticates correctly, but the PDC account fails and repeatedly asks for a logon. I've tried both NT Challenge/Response authentication and Basic authentication without success. Why am I encountering this problem?

Various authentication methods require various user rights. NT Challenge/Response authentication requires that users have the Access this computer from network right on the Web server. Basic authentication requires that users have the Log on locally right on the Web server.

You might need to enter the username as domain\username instead of just username. You can set IIS up to log on to a specified domain or to all trusted domains. For more information, see the Microsoft article "How to Authenticate a User Against All Trusted Domains" (http://www.microsoft.com/technet/support/kb.asp?id=168908) and Chapter 8 of the Microsoft Internet Information Server 4.0 Resource Kit.

I want to use the ASP Response.Expires method to control how frequently a client updates my Web pages. In each page, I've inserted the code

<%
Response.Expires = 0
Response.AddHeader _
"pragma", "no-cache"
Response.CacheControl _
= "no-cache"
%>

which forces the client to refresh and reload the page. However, this method doesn't seem to work reliably. Sometimes, IE 5.0 sends the message Web Page has expired. Other times, IE refreshes the page as it should. How can I ensure that this method functions consistently?

   Previous  [1]  2  Next 


Top Viewed ArticlesView all articles
No Jobs, No Excitement at Apple's Last Macworld Keynote

Apple CEO Steve Jobs made the right move in skipping out on his company's last appearance at Macworld: In a Tuesday keynote address at the conference, Apple had no interesting new products to sell, opting instead to spend mind-numbing amounts of time on ...

Where is Microsoft NetMeeting in Windows XP?

...

The Memory-Optimization Hoax

Don't believe the hype. At best, RAM optimizers have no effect. At worst, they seriously degrade performance. ...


Related Events How IE7 & The New Extended Validation SSL Certificates Impact Your Site

Securely Extend SharePoint to the Extranet

Delivering Reliable and Effective Web-Based Applications

Check out our list of Free Email Newsletters!

Scripting eBooks Keeping Your Business Safe from Attack: Encryption and Certificate Services

Best Practices for Managing Linux and UNIX Servers

Building an Effective Reporting System

Related Scripting Resources Become a VIP member of the Windows IT Pro community!
Get it all with the VIP CD and VIP access. A $500+ value for only $279!

Subscribe to Windows IT Pro!
Solve your toughest technical problems with our experts and access 10,000 + articles online. 30% off

Monthly Online Pass - Only $5.95!
Get instant access to 10,000+ articles from Windows IT Pro Magazine!

TechNet Virtual Labs
Evaluate and test Microsoft's newest products.


Windows IT Pro Home Register FAQ for Windows WinInfo News
Europe Edition About Us Contact Us/Customer Service Media Kit Affiliates / Licensing  
SQL Server Magazine Office & SharePoint Pro Windows Dev Pro IT Job Hound ITTV
IT Library Technology Resource Directory Connected Home Windows Excavator Windows SuperSite 
 
 Windows IT Pro is a Division of Penton Media Inc.
 Copyright © 2009 Penton Media, Inc., All rights reserved. Terms and Use | Privacy Statement | Reprints and Licensing