[Owncloud] Heavy LDAP user search

Jörn Friedrich Dreyer jfd at owncloud.com
Mon Sep 24 09:31:36 UTC 2012


Hi Manuel!



Manuel Delgado <manuel.delgado at ucr.ac.cr> schrieb:

>Hi Jörn,
>
>On Fri, Sep 21, 2012 at 4:29 AM, Jörn Friedrich Dreyer
><jfd at owncloud.com>wrote:
>
>> Just brainstorming: lucene by default only starts searching when the
>user
>> has enterd three characters. Using the same limitation in the share
>dialog
>> would allow Arthur to query the LDAP server with a filter that takes
>the
>> three digits into account. That should drastically reduce lookup
>times and
>> is not much of a nuisance to the user. The search dialog could then
>> directly be populated with ldap results
>>
>
>We work with a very big and loaded LDAP server. In my expririence it is
>better to have the cache (say 1h life time, like OC) and not to make
>searches in the LDAP every time a user types an additional letter (We
>have
>something similar in our old Webmail... it's tedious). The idea is
>great
>since is used by many projects, but I think it only works well on low
>load
>environments as occured with the recursive array search discussed
>above.
Maybe you can be of further help :) I thought of waiting for three characters before making the LDAP query. Adding further characters would only be used to filter the result, not make additional queries.
Would this work in your environment? How many results does the worst case contain (in germany I'd search for the last name Meyer)? If three is not enough maybe four?

Are you using master slave replication to distribute the load on several LDAP servers?

So long 

Jörn
>
>
>>
>> @ Arthur: would that work or are there other requirements?
>>
>>
>>
>> Dirk Kastens <dirk.kastens at uni-osnabrueck.de> schrieb:
>>>
>>> ------------------------------
>>> Owncloud mailing list
>>> Owncloud at kde.org
>>> https://mail.kde.org/mailman/listinfo/owncloud
>>>
>>>
>> --
>> Jörn Friedrich Dreyer (jfd at owncloud.com)
>> Software Developer
>> ownCloud GmbH
>>
>> Your Data, Your Cloud, Your Way!
>>
>> ownCloud GmbH, GF: Markus Rex, Holger Dyroff
>> Schloßäckerstrasse 26a, 90443 Nürnberg, HRB 28050 (AG Nürnberg)
>>
>> _______________________________________________
>> Owncloud mailing list
>> Owncloud at kde.org
>> https://mail.kde.org/mailman/listinfo/owncloud
>>
>>
>
>Regards,
>Manuel Delgado
>
>-----------------------------------------------------------
>*Usuario Linux* *#520940 <http://counter.li.org/>*
>
>Bach. Computación e Informática
>Universidad de Costa Rica

-- 
Jörn Friedrich Dreyer (jfd at owncloud.com)
Software Developer
ownCloud GmbH

Your Data, Your Cloud, Your Way!

ownCloud GmbH, GF: Markus Rex, Holger Dyroff
Schloßäckerstrasse 26a, 90443 Nürnberg, HRB 28050 (AG Nürnberg)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/owncloud/attachments/20120924/01d5e170/attachment.html>


More information about the Owncloud mailing list