Συντάκτης: Walt Reed Ημερομηνία: Προς: Jonathan Vanasco Υ/ο: Walt Reed, Exim-users Αντικείμενο: Re: [Exim] Exim+LDAP,Can't contact LDAP server
On Fri, Feb 13, 2004 at 12:06:57PM -0500, Jonathan Vanasco said: > On Feb 13, 2004, at 10:22 AM, Walt Reed wrote:
> >On Fri, Feb 13, 2004 at 01:11:39PM +0200, Alexander G. Jerjomin said:
> >> Hello.
> >>I want to use Exim+LDAP to verify the valid address.
> ><snip>
> >>but I want to accept mail if LDAP is down.
> >
> >What many people are doing is taking periodic snapshots of the ldap DB
> >(several times per day or whatever schedule is appropriate for your
> >local environment) and saving in a local database. This can be a good
> >way to boost performance as well.
>
> I thought the caching features of LDAP make it the fastest solution for
> a db style implementation.
Well, it is fast, but I don't know if it's going to be faster than a
simple mysql DB or berkeley style DB for quick go, no-go types of
queries (I have not done any performance testing, but I do know that
simple queries on mysql and berkeley DB's are VERY VERY fast...)
Remember: the OP was concerned about the LDAP server being down in which
case the performance of LDAP is going to be exactly zero.