• Final reminder: the future of IIS at TechEd North America!

    If you’re attending TechEd North American in New Orleans, come check out our presentation about the future of IIS. Myself and Ahmed ElSayed will be presenting about the new features that the IIS product group have created, focusing on scalability and manageability.

    This happens tomorrow, Thursday June 6th, from 08:30 to 09:45AM, in room 291 (session code MDC-B303).

    Looking forward to seeing you!

     

    image

    (pictured above is Ryan Jones, my colleague from the Azure PM group. Ryan’s presentation about Windows Azure Pack was yesterday)

  • New feature in IIS 8.5: Idle worker-process page-out

    With the release of Windows Server 2012 R2, we are including a new version of IIS – version 8.5, which contains several new and exciting features. In the next few weeks, I will be discussing them and how they can benefit your organization.

    The first feature I want to discuss here is “Idle Worker Process Page-Out”, which we refer to unofficially as “Dynamic Site Page-out”. The challenge that led to the development of this feature is that many organizations that host a large number of websites discover that many of the sites are idle most of the time. For example, if your organization is one that provides commercial web-hosting services, many of your customers are probably small businesses. Many small businesses need to have some web presence, but their websites are mostly designed to be a virtual billboard – they don’t contain many (or any) applications, and they are typically visited only rarely. Some might be idle for hours, and some even days or weeks without a single visitor.

    In such a situation, having the site active on your server might seem like a waste of resources. Even a simple, static site typically uses up at least 6-10 MB of memory, and if you are running hundreds or thousands of such sites, that’s a lot of memory use for sites that rarely get visited. Most web server administrators have configured their servers to automatically terminate such a site after a certain idle time. In Windows Server 2012, this is how this option looked like:

    clip_image002

    The above is one of the advanced options dialog for an application pool. When you set an idle time-out, the Windows Process Activation Service (WAS) terminates the worker-process of an idle site, so the CPU and memory resources are released, but that also means that when a user does connect to the site, he has to wait for the site to start (a worker process to be spun up). This takes time – sometimes as much as 20 seconds on a busy server, during which the user is staring at a blank screen.

    To make things better, the Dynamic Site Page-out feature allows WAS to put idle websites to sleep…page them out to disk. The idea is that instead of a process termination upon time-out, the process remains alive, but suspended and consuming little resources. Then, if the site is being requested, it wakes up from suspension almost instantly. In such a situation, the user receives the active site within seconds without having to wait and wonder.

    To configure this feature, we have added this drop down in the same configuration page:

    clip_image004

    As you can see, below the time-out value, you can select whether to suspend or terminate the site when it times-out. When the site is suspended, it still shows up in your Task Manager, but as you can see, it consumes little memory or CPU:

    clip_image006

    Windows Server 2012 R2 will be released soon, but a preview of it is already available to try for free. Click here to download it.

    Next time: Dynamic site activation!

  • IIS at TechEd–introducing and demonstrating the new features

    In the next few weeks, I’ll be posting several additional posts about the new features in IIS 8.5, and we will be posting documentation on our main site http://www.iis.net, as well as on TechNet. We have also presented about the new features as part of TechEd, both in North America and Europe. If you are anxious to learn about the new features and see them in action, both presentations are available to view and download. The content is very similar in both, other than the personal style and preferences of the presenter, of course. Here are the links:

    Session at TechEd North America, by Erez Benari and Ahmed ElSayed

    image

    Session at TechEd Europe, by Wade A. Hilmo

    image