Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: mod_perl vs php performance when accessing Oracle under load

by Anonymous Monk
on Aug 27, 2012 at 15:22 UTC ( #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...


Comment on Re: mod_perl vs php performance when accessing Oracle under load
Download Code
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
Node Status?
node history
Node Type: note [id://990004]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (6)
As of 2014-12-28 17:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (182 votes), past polls