Uploaded image for project: 'Directory ApacheDS'
  1. Directory ApacheDS
  2. DIRSERVER-1907

[perf] Add a replace() method in the index interface

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.0.0-M15
    • 2.0.0
    • backend
    • None

    Description

      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 descendant.

      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.)

      Attachments

        Activity

          People

            Unassigned Unassigned
            elecharny Emmanuel Lécharny
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: