[ http://issues.apache.org/jira/browse/DIRSERVER-629?page=all ]
Emmanuel Lecharny resolved DIRSERVER-629. ----------------------------------------- Resolution: Fixed This has been fixed in may/june. Some more work could be done, but the search is now very fast. I think that the number of searches we had was also limited by the naggle algorithm wich was not disabled. > Improve performance for search requests > --------------------------------------- > > Key: DIRSERVER-629 > URL: http://issues.apache.org/jira/browse/DIRSERVER-629 > Project: Directory ApacheDS > Issue Type: Improvement > Affects Versions: 1.0-RC3 > Reporter: Emmanuel Lecharny > Priority: Critical > Fix For: 1.0-RC4 > > Attachments: apacheds-SEARCH.log > > > Search requests are pathological long when the server is loaded with entries. > I have a server with 10000 entries, and I do a search for a random user. It > takes around 50 ms to find the user (20 searches per second, maximum). > This is due to the fact that, when we have a lot of entries, the search look > for entries which DN are all parsed (cf attached log). The parser is > synchronized and takes around 0,5 ms to parse a DN, and the entries to be > parse are 100 (cf attached log again), so the 50 ms are spent parsing, > parsing and parsing ... -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira