Re: [Exim] How to: exim + Oracle + Perl + DBI

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Chris Lightfoot
Date:  
À: Sheldon Hearn
CC: Philip Hazel, Richard Welty, Paul Makepeace, Paul Kelly, exim-users
Sujet: Re: [Exim] How to: exim + Oracle + Perl + DBI
On Thu, Jul 26, 2001 at 11:56:51AM +0200, Sheldon Hearn wrote:
>
>
> On Thu, 26 Jul 2001 10:51:34 +0100, Chris Lightfoot wrote:
>
> > Yeah. One thing to point out is that this would
> > potentially be fairly simple to implement using the perl
> > lookup support and the DBI::proxy database proxy driver
> > perl module, which would save implementing YAdatabase
> > lookup method in exim.
>
> I'm not very impressed with the performance of perl DBI, epsecially from
> within Exim [1]. :-)


It's not fantastic. But it can't be worse than setting up
and closing connections for every query (or almost every
query). Obviously for the highest possible performance
you'd want a db-specific solution probably in C, but the
perl one will be faster to implement....

--
Chris Lightfoot -- www.ex-parrot.com/~chris/
``[American] football combines the
two worst features of American life:
violence and committee meetings.'' (George Will)