[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: commit: ldap/servers/slapd/overlays pcache.c



ando@OpenLDAP.org wrote:

> provide an interface to remove a set of entries from the cache

The rationale behind this is that, for bandwidth occupation issues, we
need to cache frequent proxied searches that retrieve very large
objects.  For this reason, we want relatively long TTL, but we also need
to be very tight on updates on the remote server.  For this purpose, I'm
designing a layer based on the ldap_sync API (RFC 4533) that performs a
persistent search looking for changes on the modifyTimestamp of the
sensitive objects (small data that always gets modified, to be
conservative) and, in case, removes those objects from the cache in a
consistent manner.  If this feature works as intended, and is considered
useful, I can commit it (maybe it could become an integral part of
pcache...).

p.



Ing. Pierangelo Masarati
OpenLDAP Core Team

SysNet s.r.l.
via Dossi, 8 - 27100 Pavia - ITALIA
http://www.sys-net.it
---------------------------------------
Office:  +39 02 23998309
Mobile:  +39 333 4963172
Email:   pierangelo.masarati@sys-net.it
---------------------------------------