Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: mod_perl vs php performance when accessing Oracle under load

by liz (Monsignor)
on Aug 27, 2012 at 08:45 UTC ( [id://989943]=note: print w/replies, xml ) Need Help??


in reply to mod_perl vs php performance when accessing Oracle under load

I would almost bet that is a CPU problem on Perl's side, specifically caused by CGI.pm. Could you check CPU usage during the test, and CPU burned by checking "times" ?
  • Comment on Re: mod_perl vs php performance when accessing Oracle under load

Replies are listed 'Best First'.
Re^2: mod_perl vs php performance when accessing Oracle under load
by amasidlover (Sexton) on Aug 27, 2012 at 09:24 UTC

    I've tried taking out CGI entirely as the current version of the script doesn't use it; I get an average of 1800ms

    CPU Usage sits at about 30% during the test. Not sure how I'd go about checking 'times', short of starting apache with 'time' in debug mode - and then I can't do the concurrency tests.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://989943]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (7)
As of 2024-04-19 11:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found