Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: LWP over SSL Hammers Apache

by hakkr (Chaplain)
on Dec 17, 2004 at 09:59 UTC ( [id://415586] : note . print w/replies, xml ) Need Help??


in reply to LWP over SSL Hammers Apache

Hi,

That is very interesting, real world browser and proxy caching is pretty hard to account for.

We have been doing similar load testing by using fork and creating system calls direct to lwprequest.

We found that our test script was limited to creating about 600 parallel requests this way, apparently by the server processing power.

I was just wondering how many concurrent requests you have managed to generate using this module.

I am assuming that calling lwprequest directly will allow more parallel requests to be generated than the overhead of using the perl interfaces like this. What do you think is the best way to generate the most parallel requests?

Replies are listed 'Best First'.
Re^2: LWP over SSL Hammers Apache
by grantm (Parson) on Dec 17, 2004 at 19:00 UTC
    I was just wondering how many concurrent requests you have managed to generate using this module.

    I'm not sure, but each 'thread' of our test script sleeps between requests to simulate the time taken to fill in each form. We have the load generation scripts running on a number of different client machines.

    I am assuming that calling lwprequest directly will allow more parallel requests to be generated than the overhead of using the perl interfaces like this.

    Um no, lwp-request is just a Perl script that uses the LWP module. It's all Perl.

    What do you think is the best way to generate the most parallel requests?

    We're not really interested in raw 'requests per second' numbers since we want to know how many simultaneous user sessions the servers can handle. What constitutes a 'user session' for your app would be quite different to ours.

    The ApacheBench (ab) tool bundled with Apache might be one way to generate many parallel requests. The mod_perl performance tuning guide has other suggestions.

      Um no, lwp-request is just a Perl script that uses the LWP module. It's all Perl.

      Thanks, I had assumed it was a binary of some sort. Very strange they did't use LWP directly .