directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From conflue...@apache.org
Subject [CONF] Apache Directory Server v1.5 > ADS Performance
Date Tue, 25 May 2010 15:26:00 GMT
<html>
<head>
    <base href="http://cwiki.apache.org/confluence">
            <link rel="stylesheet" href="/confluence/s/1810/9/1/_/styles/combined.css?spaceKey=DIRxSRVx11&amp;forWysiwyg=true"
type="text/css">
    </head>
<body style="background: white;" bgcolor="white" class="email-body">
<div id="pageContent">
<div id="notificationFormat">
<div class="wiki-content">
<div class="email">
    <h2><a href="http://cwiki.apache.org/confluence/display/DIRxSRVx11/ADS+Performance">ADS
Performance</a></h2>
    <h4>Page <b>edited</b> by             <a href="http://cwiki.apache.org/confluence/display/~elecharny">Emmanuel
L├ęcharny</a>
    </h4>
        <br/>
                         <h4>Changes (1)</h4>
                                 
    
<div id="page-diffs">
            <table class="diff" cellpadding="0" cellspacing="0">
            <tr><td class="diff-snipped" >...<br></td></tr>
            <tr><td class="diff-unchanged" > <br>This page is intended to
keep a track of all the improvements we can implement to&amp;nbsp; speed up the server.
We often find things that are not as fast or optimal as they should be, but we don&#39;t
have time to fix them. Usually, we are writting down those infos on a piece of paper, then
the piece of paper vanishes, so is the idea... Let&#39;s use this page of electronic paper
\! <br></td></tr>
            <tr><td class="diff-deleted-lines" style="color:#999;background-color:#fdd;text-decoration:line-through;">||
Improvement || Description || Potential gain || Implemented || <br>| Store DN in entries
\\ | The DN are stored in a specific place in the backend. \\ <br>This leads to a double
lookup when we want to get an entry from \\ <br>the&amp;nbsp; server, when one should
be enough. \\ | Reading a DN from the backend costs around \\ <br>X% (to be evaluated)
| (x) | <br>| Store normalized DN \\ | We currently store a UP form of the DN. We have
then to \\ <br>parse the DN and normalized it again when we read it from the backend
\\ <br>This is far from being optimal, but some tests must be done to see if \\ <br>reading
(means, disk IO + deserialization ) is cheaper than parsing+normalizing \\ | To be evaluated
\\ | (x) \\ | <br>| Referral getFarthestReferral | This method can be optimized. We
are comparing Strings when we could have \\ <br>compared RDNs \\ | A few CPU cycle,
but not to be neglected | \\  (x) | <br></td></tr>
        </table>
</div>                            <h4>Full Content</h4>
                    <div class="notificationGreySide">
        <h1><a name="ADSPerformance-Improvingtheserverperformance"></a>Improving
the server performance</h1>

<p>This page is intended to keep a track of all the improvements we can implement to&nbsp;
speed up the server. We often find things that are not as fast or optimal as they should be,
but we don't have time to fix them. Usually, we are writting down those infos on a piece of
paper, then the piece of paper vanishes, so is the idea... Let's use this page of electronic
paper &#33;</p>
    </div>
        <div id="commentsSection" class="wiki-content pageSection">
        <div style="float: right;">
            <a href="http://cwiki.apache.org/confluence/users/viewnotifications.action"
class="grey">Change Notification Preferences</a>
        </div>
        <a href="http://cwiki.apache.org/confluence/display/DIRxSRVx11/ADS+Performance">View
Online</a>
        |
        <a href="http://cwiki.apache.org/confluence/pages/diffpagesbyversion.action?pageId=66556&revisedVersion=5&originalVersion=4">View
Changes</a>
            </div>
</div>
</div>
</div>
</div>
</body>
</html>

Mime
View raw message