rick.james Posts

IIS 7 C++ Module API Sample: Controlling http.sys caching

IIS 7 C++ Module API Sample: Controlling http.sys caching Introduction In my previous post we saw that http.sys caching can be very useful for high traffic (gigabits/sec) sites. In this post we create a sample module that allows configuring which URLs...

Fun with http.sys Caching

Introduction There are many caches available to web applications. Today I will play with the http.sys URI cache. It is a simple, fast, kernel-mode cache. How it Works First IIS must decide if the response can be stored in the http.sys' cache (devs: See...

FastCGI: Debugging "The FastCGI process exited unexpectedly"

FastCGI: Debugging "The FastCGI process exited unexpectedly" Update 17-Oct: Added .lines, fixed some spelling mistakes, added pageheap Here is the sequence of events for two back-to-back FastCGI requests to a freshly started worker process: Request 1...

FastCGI Rapid Failure Protection

FastCGI Rapid Failure Protection There are a lot of similarities between FastCGI's Rapid Failure Protection feature and w3svc/WAS', read here for more information. FastCGIs performance (vs CGI) is derived from amortizing process creation and startup costs...

IIS 7 C++ Module API Sample: Changing Handlers

IIS 7 C++ Module API Sample: Changing Handlers Introduction Today's modules looks at how you can programmatically change handlers. RQ_EXECUTE_REQUEST_HANDLER is by far the most common notification used in the IIS 7 pipline. This makes sense because it...

IIS 7 C++ Module API Sample: Consuming Trace Events

Introduction The attached sample IIS 7 module converts all tracing events into OutputDebugString calls. This is not something you'd want to do on a production box, because OutputDebugString can slow machines substantially. It is however very useful when...

Installing PHP 5.2.4 on Windows Server 2008 RC0 in Pictures

Windows Server 2008 RC0 is now available for beta testing . Here are some screenshots of setting up PHP 5.2.4: Update: 11-Oct: changed image layout, tweaked text Open Server Manager, Install IIS, including CGI (which include FastCGI) Download and extract...

IIS 7 Talks: Slides

Will and I had the pleasure of presenting IIS 7 to audiences in 6 countries in the last 2 weeks. Sorry to people who found out about the presentations too late to attend. I've attached a copy of the slides we used. You may also want to see the shared...

IIS 7 Talks: Zagreb, Athens, Brussels and Belgrade

As previously mentioned, in the next two weeks, Will and I will be doing a bunch of IIS 7 day-long talks. (Brett and Isaac will visit other countries, see here for the full list) Final locations and dates: 14 May: Reykjavik 16 May: Zagreb 18 May: Athens...

IIS 7 Talks: Reykjavik and London

Will and I will be presenting one day talks, aimed at IT professionals, about IIS 7. Schedule: 14 May: Reykjavik ( details and registration ) 23 May: London ( details and registration ) We're still finalizing details, but it looks like we'll also be talking...

FastCGI TP2 - Unofficial Update 70419

FastCGI tech preview 2 went out a long time ago. Since then there has been tons of excellent feedback in the FastCGI forums on http://forums.iis.net . Thank you! Unfortunately it's going to be a while before there's another official tech preview / beta...

IIS 7 Hello World Module Walkthrough

The other day I found out that the Vista SDK includes a compiler. I was very excited to find this out, cause now creating a "Hello World" IIS 7 C++ module only requires one huge install (and two little ones). Build: Install the Vista SDK Unzip attached...

Fake FastCGI Web Server

When developing a new FastCGI library, the web server can get in the way. The attached program wraps a FastCGI executable in a minimal FastCGI environment. It should be enough to get "hello world" working. It only uses named pipes. It doesn't exercise...

IIS 7 FastCGI Module

The IIS FastCGI preview is ready! I spent the last month developing the IIS 7 FastCGI module. Wade has adapted the module to work as an ISAPI on IIS 6 (and unofficially on IIS 5). Marchel and Mukhtar (and recently Cip) have been testing until late in...

Microsoft Communities