Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: mod_perl vs php performance when accessing Oracle under load

by Anonymous Monk
on Aug 27, 2012 at 15:22 UTC ( [id://990004]=note: print w/replies, xml ) Need Help??


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

You should be able to gain a small speed boost by using a non-threaded version of Perl, plus, there's always the Advanced Perl DBI talk. DBI's prepare_cached might help for some cases of repeated statements, too.

Anyway, I do not see anything wrong with your test code as you have laid it out (and was certain that the likely culprit was CGI.pm). I trust that your production code is of similar quality, and hope that the apples-to-oranges comparison by your client was, well, apples and oranges. And not HTTP to HTTPS...

Replies are listed 'Best First'.
Re^2: mod_perl vs php performance when accessing Oracle under load
by liz (Monsignor) on Aug 28, 2012 at 08:02 UTC
    FWIW, when moving from a threaded perl to an identical unthreaded version of Perl at $work, in practice the difference in performance hardly made it above noise levels (as in less than 1%). This was quite disappointing.

    So, the Perl test-suite may run 15% faster without threads, but your real life application gains may be a lot less. I guess the test-suite just exercises the expensive unthreaded code paths on a threaded perl more than in the real world.

Log In?
Username:
Password:

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

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

    No recent polls found