Issue Details (XML | Word | Printable)

Key: DIRSERVER-629
Type: Improvement Improvement
Status: Closed Closed
Resolution: Fixed
Priority: Critical Critical
Assignee: Unassigned
Reporter: Emmanuel Lecharny
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Directory ApacheDS

Improve performance for search requests

Created: 02/Jun/06 12:59 AM   Updated: 25/Aug/06 11:02 AM
Component/s: None
Affects Version/s: 1.0-RC3
Fix Version/s: 1.0-RC4

Time Tracking:
Not Specified

File Attachments:
  Size
Text File Licensed for inclusion in ASF works apacheds-SEARCH.log 2006-06-02 01:00 AM Emmanuel Lecharny 29 kB

Resolution Date: 25/Aug/06 11:02 AM


 Description  « Hide
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 ...



 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
There are no subversion log entries for this issue yet.