http://aspn.activestate.com/ASPN/Reference/Products/ActivePerl/faq/Windows/ActivePerl-Winfaq2.html
Why should I use Perl for ISAPI rather than Perl for Win32 (perl.exe)?
The short answer is: it´s faster. The long answer gets kind of technical, but it goes like this:
The main advantage of PerlIS over perl.exe is that PerlIS runs as a DLL in the web server´s process space. Because Win32 platforms set up a protected memory space for each process that is started, there´s a lot of overhead in starting a new process or program. Passing scripts to an interpreter, such as perl.exe, requires starting a new process for every script, which gets expensive in terms of system resources.
DLLs, on the other hand, don´t need their own process space; they use the space of the process that calls them. They don´t require nearly as much overhead to start, and once loaded they stay loaded until the calling process ends. PerlIS therefore runs Perl scripts with a quicker turn-around time than perl.exe.
- Ok! Men varför äter den upp allt minne så att servern stannar. Hmm.