<!-- 
RSS generated by JIRA (5.2.4#845-sha1:c9f4cc41abe72fb236945343a1f485c2c844dac9) at Mon May 20 02:42:03 CDT 2013

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary add field=key&field=summary to the URL of your request.
For example:
http://www.couchbase.com/issues/si/jira.issueviews:issue-xml/JCBC-212/JCBC-212.xml?field=key&field=summary
-->
<rss version="0.92" >
<channel>
    <title>Couchbase</title>
    <link>http://www.couchbase.com/issues</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>5.2.4</version>
        <build-number>845</build-number>
        <build-date>26-12-2012</build-date>
    </build-info>

<item>
            <title>[JCBC-212] Add new throttling feature to allow us to keep from using all system memory</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-212</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>When doing things like bulk loading, there are times we have multiple workload profiles.  Interactive applications using the same client and same server need &amp;quot;room to move&amp;quot; and should always be fast, while other workloads should throttle themselves.&lt;br/&gt;
&lt;br/&gt;
The intent here would be to add a feature such that:&lt;br/&gt;
for every N operations, pull stats from the nodes&lt;br/&gt;
if the amount of memory used is below high_wat, don&amp;#39;t do anything&lt;br/&gt;
else if the amount of memory used is 10% of the remaining memory above high_wat before max memory usage, insert a sleep of Y milliseconds before each operation, and log the backoff at a debug level, check stats again ever M operations&lt;br/&gt;
else if the amount of memory used is greater than 10% above that level above high_wat, insert a sleep of Z milliseconds before each operation and log the backoff at an info level, check stats again every O operations&lt;br/&gt;
Turning this on or off should be done via a properties file or just simple -D args to the JVM, either one is okay.&lt;br/&gt;
&lt;br/&gt;
N, M, O and Y, Z should all be tuneable, either via a properties file or a define.  All of them should be optional.&lt;br/&gt;
&lt;br/&gt;
Default values should be:&lt;br/&gt;
N = 10000&lt;br/&gt;
M = N/100&lt;br/&gt;
O = M/10&lt;br/&gt;
&lt;br/&gt;
Y = 1ms&lt;br/&gt;
Z = Y * 3&lt;br/&gt;
&lt;br/&gt;
</description>
                <environment></environment>
            <key id="21784">JCBC-212</key>
            <summary>Add new throttling feature to allow us to keep from using all system memory</summary>
                <type id="2" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/newfeature.png">New Feature</type>
                                <priority id="3" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/major.png">Major</priority>
                    <status id="5" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="1">Fixed</resolution>
                    <security id="10011">Public</security>
                        <assignee username="ingenthr">Matt Ingenthron</assignee>
                                <reporter username="ingenthr">Matt Ingenthron</reporter>
                        <labels>
                    </labels>
                <created>Tue, 15 Jan 2013 17:30:53 -0600</created>
                <updated>Fri, 18 Jan 2013 00:16:30 -0600</updated>
                    <resolved>Fri, 18 Jan 2013 00:16:30 -0600</resolved>
                                            <fixVersion>1.1.1</fixVersion>
                                                <votes>0</votes>
                        <watches>0</watches>
                                                    <comments>
                    <comment id="48038" author="daschl" created="Thu, 17 Jan 2013 23:58:39 -0600"  >&lt;a href=&quot;http://review.couchbase.com/#/c/23658/&quot;&gt;http://review.couchbase.com/#/c/23658/&lt;/a&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                                                                    <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>8759</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                    <customfield id="customfield_10181" key="com.atlassian.jira.ext.charting:timeinstatus">
                <customfieldname>Time In Status</customfieldname>
                <customfieldvalues>
                    
                </customfieldvalues>
            </customfield>
                                                </customfields>
    </item>
</channel>
</rss>