Re: [Exim] Re: LDAP Caching?

Pàgina inicial
Delete this message
Reply to this message
Autor: Philip Hazel
Data:  
A: Suresh Ramasubramanian
CC: Tony Earnshaw, exim-users
Assumpte: Re: [Exim] Re: LDAP Caching?
On Sun, 14 Sep 2003, Suresh Ramasubramanian wrote:

> >I think Exim, in
> >common with many clients, re-uses client connects - "remembers" them for
> >a certain time. Certainly lookups after the first lookup, which costs an
> >appreciable lookup time, happen instantaneously, for a given period of
> >time (but perhaps that's my local BDB 4.1 doing the caching). Perhaps
> >this would be enough for OP to convince his Windows people to *try*, at
> >any rate.
>
> That's what exim does as far as I remember from a brief time ages back,
> when I tried playing with LDAP, and ran away screaming.


That is what Exim does, but only on a per-process basis. In addition, it
keeps a (per-process) cache of the last LDAP query that took place. If
the same query is repeated (without a different intervening query), the
cached value is used. (This is common code that is used by all lookups.)

--
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.
Get the Exim 4 book:    http://www.uit.co.uk/exim-book