directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Emmanuel Lecharny (JIRA)" <>
Subject [jira] [Created] (DIRSERVER-1907) [perf] Add a replace() method in the index interface
Date Mon, 21 Oct 2013 19:23:41 GMT
Emmanuel Lecharny created DIRSERVER-1907:

             Summary: [perf] Add a replace() method in the index interface
                 Key: DIRSERVER-1907
             Project: Directory ApacheDS
          Issue Type: Improvement
    Affects Versions: 2.0.0-M15
            Reporter: Emmanuel Lecharny
             Fix For: 2.0.0

Currently, when we update the Rdn index, we update it many times (one time per RDN in the
entry's DN), and we store a new version of each RDN with an updated count of children and

This is done by dropping and adding each RDN, as we don't have a replace method. This is extermelly
costly, and we can save a lot of CPU with such a replace method (the RDN index update cost
one third of the global cost of an addition, we could save around half of this, so this would
give us a 16% speed improvement for updates.)

This message was sent by Atlassian JIRA

View raw message