On Thu, 17 Aug 2000, Mikael Claesson wrote:
> I plan to keep all lowerlevel database stuff in C, and
> embed it in a perl module. Will this make things run
> slower than if I made it all in perl?
It shouldn't. Keep in mind though, when you use DBI from perl you are
still doing all the low-level database stuff in C. DBI is all C code
with a perl interface.
Ultimately, most database applications under mod_perl have their
performance bottleneck at the database, which means you get a good return
on your effort by writing your application in the way that's easiest for
you to maintain (maybe in C, in your case) and then spending your
optimization time tuning the database and the SQL.
- Perrin