On Tue, Jan 19, 2021 at 03:03:49PM +0100, Ganael Laplanche wrote:

> > http://www.postfix.org/memcache_table.5.html
> 
> Maybe memcache with a *very* long TTL could be used here, but I was looking 
> for a pseudo-dictionay such as unionmap (maybe something like 'noretrymap') 
> that would ignore DICT_ERR_RETRY from failing backends and get the first 
> useable result from child dicts.
> 
> Would there be another option ?

The only solution that comes to mind is "socketmap".  You can write your
own (for reasonable performance, not single-threaded) server that keeps
track of whether LDAP is producing acceptable answers, and if not, falls
back to stale local sources).

You'll need an LDAP connection pool, and some way to determine whether
the LDAP replies are acceptable (that's the hard part).

-- 
    Viktor.

Reply via email to