Victor Duchovni:
> On Thu, Jul 15, 2010 at 02:31:36PM -0400, Wietse Venema wrote:
> 
> > > Also, only use proxymap for IPC based tables (ldap, mysql, pgsql, tcp, 
> > > ...),
> > > do not use proxymap for indexed files, cidr tables, pcre/regexp tables, 
> > > ....
> > 
> > It depends on what the trade-offs are. I know of one user with
> > very large cidr tables - sacrificing performance to avoid running
> > out of physical memory.
> 
> One might suggest that CIDR is not a good fit for this even if stored
> just once, an IPC based server that walks trees rather than lists
> would be far more suitable...

I agree that the Postfix CIDR implementation achieves simplicity
of implementation (including correctness) by sacrificing space and
speed.

It seems that speed-wise improvements could be made cheaply by
adding IF/ENDIF support, similar to the regexp/pcre tables.

        Wietse

Reply via email to