in reply to Re: mod_perl installed but not faster
in thread mod_perl installed but not faster

Yes, i was trying exactly that. I wanted to time the script in action. I was hoping the multiple requests into my virtual server would be served faster. (Both scripts are on the same server). Perhaps i should try and http get another script inside of the mod_perl folder. Hopefully that would prove faster. Thanks for your ideas! It does seem like it is installed correctly, i just need to learn how to harness it.

BTW, The Apache security hole in 1.3 is patchable. i'm pretty happy with 6.2, it's old, but stable :o My secondary drive is 7.2 though, i am curious to see the differences between the two avec mod_perl.

  • Comment on Re: Re: mod_perl installed but not faster

Replies are listed 'Best First'.
Re: Re: Re: mod_perl installed but not faster
by true (Pilgrim) on Oct 18, 2002 at 12:12 UTC
    I did this and am now seeing a big increase in speed! By requesting a local HTTP request with mod_perl i was able to save 30 seconds for 500 LWP requests. I was also able to use $ENV{'MOD_PERL'} to verify my mod_perl install (mod_perl/1.23).
    The test: i did a Simple get for a virtual domain on my server This was a local request, through apache. I requested this test page 500 times. One loop ran without mod_perl, the other with mod_perl.
  • Without mod_perl the test took=35.6595680713654 seconds
  • With mod_perl the test took=5.24513804912567 seconds
  • A few more runs confirmed my results. Thanks PM world. Without this resource, mod_perl would have remained a mystery to me. Props to ajt for all the pointers.