in reply to Re: CGI and Server-load
in thread CGI and Server-load

mod_perl would remove the process launch overhead, but he's using IIS - mod_perl just works with Apache doesn't it?
I think the Real-time option is the better one - the server already does logging for you so it seems to me like a good idea to use the information that is provided. I don't know what logging IIS has but there must be something.
I would be tempted to use a cron job (or similar) and grab the stats on a daily basis.

Replies are listed 'Best First'.
RE: RE: Re: CGI and Server-load
by lhoward (Vicar) on Jun 22, 2000 at 17:56 UTC
    Yes, mod_perl only works with Apache. The original question didn't state anything about IIS so I assumed apache (I should have mentioned that assumption in my original post). I think its a safe bet that most perl users are using Apache instead of other web servers.

    Of course, depending on how the script is called the user can set up his script on a separate, dedicated "hit counting" box running Apache (easy to repuppose an old PC as a linux box for this purpose in many environments) he would be set. Or maybe use the first of those new sun boxes they're getting to build a new hit-counter box. Good way to test the new hardware and you don't have to migrate the whole system to sun to get it to work.