Beefy Boxes and Bandwidth Generously Provided by pair Networks Cowboy Neal with Hat
Welcome to the Monastery
 
PerlMonks  

Re: LWP over SSL Hammers Apache

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

This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.


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 14: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 .

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://415586]
help
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.