search for: 370ms

Displaying 1 result from an estimated 1 matches for "370ms".

Did you mean: 30ms
2024 Feb 03
2
Slow ldap membership query in large active directory
...trieve the gidNumber of all the groups a user is a member of. This request is sent about 3 to 4 times per second (yes, this is a design flaw, but we cannot easily change it or enable caching): We noticed that the query to get all the gidNumbers of the courses the user is a member of takes about 370ms, while a simple query takes 47ms (including bind/unbind). See the test results below. Why is a query on the member attribute so expensive? I would have assumed that this very common query would be optimised like an index user => [groups], so that you only need to get the gidNumber attribute...