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.


In reply to Re^2: LWP over SSL Hammers Apache by grantm
in thread LWP over SSL Hammers Apache by grantm

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.