Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

mod_perl vs php performance when accessing Oracle under load

by amasidlover (Sexton)
on Aug 27, 2012 at 08:15 UTC ( #989939=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
      PerlRequire "/etc/apache2/startup.pl"
      PerlModule Apache::DBI
    ...
            MaxClients              2000
            MaxRequestsPerChild     200
    </IfModule>
    
  2. or download this
    startup.pl:
    use DBI ();
    ...
        $r->print("Errors: \n");
        return Apache2::Const::OK;
    }
    
  3. or download this
    $cs = "//oracle.ourdomain.com:1521/XE";
    
    ...
    oci_execute($stmt);
    
    echo "hello world";
    
  4. or download this
    Concurrency Level:      300
    Time taken for tests:   13.286 seconds
    ...
    Time per request:       398.569 [ms] (mean)
    Time per request:       1.329 [ms] (mean, across all concurrent reques
    +ts)
    Transfer rate:          152.23 [Kbytes/sec] received
    
  5. or download this
    Concurrency Level:      300
    Time taken for tests:   63.716 seconds
    ...
    Time per request:       1911.488 [ms] (mean)
    Time per request:       6.372 [ms] (mean, across all concurrent reques
    +ts)
    Transfer rate:          23.62 [Kbytes/sec] received
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://989939]
Approved by philipbailey
Front-paged by Old_Gray_Bear
help
Chatterbox?
Corion idly wonders about creating a series of HTTP requests. There seems to be no framework to generate a series of HTTP requests, like "try all these requests"
[Corion]: This is vaguely inspired by that list of "nasty" strings, which I'd like to replace among HTTP parameters, just to see whether the application crashes, but also for easy downloading of a list of URLs etc

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (9)
As of 2017-01-16 15:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you watch meteor showers?




    Results (151 votes). Check out past polls.