Hi Josh,
On Tue, 30 Jul 2002, Josh Chamas wrote:
Thanks for the feedback still looking for more!
Well for one thing you're doing a great job. :)
Fo benchmarks to be more realistic, I feel that they need to include
chunks of code to do lookups in serious databases, put together very
complex
Dennis Haney wrote:
The bias in the test is even a little slanted towards the JSP
benchmarks since the trivial connection pooling I used there is
nothing like the Apache::DBI overhead in the mod_perl test, when I
could have just used a persistent global $dbh instead. ( maybe I
should? )
I
Perrin Harkins wrote:
To answer the original question, I don't think Apache::DBI is much
overhead at all. It amounts to little more than a hash lookup.
Certainly less work than the the thread synchronization required for
connection pooling.
My only problem with Apache::DBI for a
Josh Chamas wrote:
My only problem with Apache::DBI for a benchmark is its
default ping of the db per connect().
Oh, you're right I wasn't thinking about that. It is important in a
benchmark to be testing equivalent functionality as much as possible,
although it's very difficult to do.
I