Review request: br-msk-ldap-caching

From: Murray S. Kucherawy <msk_at_blackops.org>
Date: Fri, 23 Apr 2010 18:52:07 -0700 (PDT)

The code on this branch implements a caching layer in front of LDAP
queries. The concern is a sudden burst of mail arriving outbound to be
signed with a single key from a single domain; before this code, each of
those threads would make and wait for a query to the LDAP server to get
the key for use when signing, all to the same LDAP record. This way, the
first thread starts and waits for the query, and all others pile on to
that request and are satisfied when that reply comes back; moreover, the
reply is cached by opendkim for a period so that the LDAP server isn't
nailed by the next similar surge.

Targeted for 2.1.0, betas to begin 5/15.
Received on Sat Apr 24 2010 - 01:52:23 PST

This archive was generated by hypermail 2.3.0 : Mon Oct 29 2012 - 23:32:52 PST