in reply to Re: mod_perl vs php performance when accessing Oracle under load
in thread mod_perl vs php performance when accessing Oracle under load
We've been using Devel::NYTProf::Apache for analysing the main application, so I can have a go at that.
In the meantime I stripped out everything except the lines:
my $r = shift; $r->content_type('text/plain'); $r->print("Errors: $err\n"); return Apache2::Const::OK;
And it was still giving 1700ms per request - suggesting that its not the DB access at all...
The SELECT difference was a cut and paste error, the scripts on the server do both have the WHERE clause.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: mod_perl vs php performance when accessing Oracle under load
by amasidlover (Sexton) on Aug 27, 2012 at 10:38 UTC |