The ActiveState Perl distribution includes Perl for ISAPI. The FAQ briefly explains why you would want to use an ISAPI extension over the Perl executable. The main reason is that the code is kept in memory and reused which is quicker than if a new process is started.

This FAQ links to another FAQ that explains how you go about configuring the ISAPI extension.

I haven't used the ISAPI Perl extension but you may wish to consider the following.

  1. By default you will be sharing a process with other applications on the same server. You can isolate your application to avoid this. Remember to check file and registry permissions assigned to IWAM_<servername> in addition to the IUSR_<servername>.
  2. Your Perl app is now running in a multi-threaded environment. Any modules (particularly if they load DLLs) that you use need to be thread safe.

In reply to Re: Speeding up Perl Scripts on Windows by inman
in thread Speeding up Perl Scripts on Windows by tanger

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.