On Thu, Nov 16, 2000 at 10:29:28PM -0800, [EMAIL PROTECTED] wrote:
> > I made two mistakes, when I wrote that I want to have a cdb ;-)
> > 
> > We're currently experiencing some temporary performance problems with
> > our qmail server. This is due to large smtproutes and rcpthosts files
> > and some I/O bottleneck on the disk they're located.
> > 
> > Mistake 1) A cdb wouldn't help with this problem, as its usually even
> >    slightly larger
> > Mistake 2) virtualdomains is only read once and kept im memory. Making
> >    a cdb out of virtualdomains wouldn't help with the bottleneck ;-)
> 
> Right. But you're assuming that qmail-send would read the whole of
> virtualdomains in at startup when it's a cdb file. I would imagine
> a more sensible strategy would be to read the relevant entry per
> email - as is done with the other cdb files.

Then the discussion is
- reading it at HUP *once* and doing in-memory scans
versus
- a cdb lookup for every delivery.

I can tell you now that reading it once will only in very rare
conditions give worse performance.

Greetz, Peter
-- 
dataloss networks
'/ignore-ance is bliss' - me
'Het leven is een stuiterbal, maar de mijne plakt aan t plafond!' - me

Reply via email to