New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to properly optimize the amount of different LDAP queries required #18
Comments
The approach for normalizing the query looks good to me. Currently there are 3 queries for Maybe it would make sense to use the normalized query in I'm not really convinced yet whether I like the use of the normalized query on |
Thanks. I should be able to return on this next week. Probably iter could be refactored out. On 24. lokakuuta 2016 klo 9.50 +0300, Robert Niederreiter notifications@github.com, wrote:
|
After some rethinking I'm of the mind we need to be able to configure whether the complete entries should already be fetched at The normalized query in
Nevertheless the separate query on accessing node attributes can be avoided entirely by fetching all attributes of interest in |
The base idea to keep Also the tree in memory gets larger than needed. To optimize this we would have to implement slicing and then iterate over the slice, so we can write The most difficult part is to change PAS to use it in an efficient way. |
Agreed. I should be able to return to this in the middle of next week. On 28. lokakuuta 2016 klo 10.10 +0300, Jens W. Klein notifications@github.com, wrote:
|
closing this in favor of #37 |
The most complex and controversial refactoring I had to make to get node.ext.ldap working with a large local (or just with any remote ldap) was to optimize the amount LDAP queries it does. My approach was to normalize searches so that there was only one different search for each object.
https://github.com/datakurre/node.ext.ldap/commits/master
Any ideas, how that should be done more properly? Mainly
The text was updated successfully, but these errors were encountered: