[freeipa PR#5681][opened] Implement simple LDAP cache layer
by rcritten
URL: https://github.com/freeipa/freeipa/pull/5681
Author: rcritten
Title: #5681: Implement simple LDAP cache layer
Action: opened
PR body:
"""
Pretty straightforward caching except for the attribute
handling. We probably won't want to cache the entire entry
since that could be expensive (userCertificate, ssh keys, etc)
but not storing it could lead to multiple requests for the
same thing. Also, requesting * vs a set of attributes may not
return all a plugin needs, as it will skip operational attributes.
Still, this saves 20-50% of queries in my limited testing.
Mar 29: initial implementation works about 80% of the time.
I guarantee the xmlrpc tests will fail. We'll see about the integration tests.
There are still corner cases to find and the member modlist stuff
is a mess.
"""
To pull the PR as Git branch:
git remote add ghfreeipa https://github.com/freeipa/freeipa
git fetch ghfreeipa pull/5681/head:pr5681
git checkout pr5681
1 year, 10 months