Skip to content
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

Access to 'attrs' slow...lazy loading? #39

Open
zopyx opened this issue Apr 10, 2018 · 1 comment
Open

Access to 'attrs' slow...lazy loading? #39

zopyx opened this issue Apr 10, 2018 · 1 comment

Comments

@zopyx
Copy link

zopyx commented Apr 10, 2018

I discovered that property lookups to custom properties like node.attrs['some_non_custom_attr'] are very slow (0.2 seconds per lookup). I assume that each lookup triggers a lookup on the LDAP server.

What is the correct strategy to get a well-defined set of attributes for all nodes of a search() operation directly without further lookup? Is this the attrlist parameter?

@rnixx
Copy link
Member

rnixx commented May 28, 2020

I discovered that property lookups to custom properties like node.attrs['some_non_custom_attr'] are very slow (0.2 seconds per lookup). I assume that each lookup triggers a lookup on the LDAP server.

Relates to #52

What is the correct strategy to get a well-defined set of attributes for all nodes of a search() operation directly without further lookup? Is this the attrlist parameter?

The attrlist relates to search results where no nodes are returned.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants