<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 04:55:50 UTC 2024

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 append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>MongoDB Jira</title>
    <link>https://jira.mongodb.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>9.7.1</version>
        <build-number>970001</build-number>
        <build-date>13-04-2023</build-date>
    </build-info>


<item>
            <title>[SERVER-40734] Performance test verify BPCPS</title>
                <link>https://jira.mongodb.org/browse/SERVER-40734</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;No goal towards commits, but a repeatable script is probably due to be attached here.&lt;/p&gt;</description>
                <environment></environment>
        <key id="741862">SERVER-40734</key>
            <summary>Performance test verify BPCPS</summary>
                <type id="3" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14718&amp;avatarType=issuetype">Task</type>
                                            <priority id="3" iconUrl="https://jira.mongodb.org/images/icons/priorities/major.svg">Major - P3</priority>
                        <status id="6" iconUrl="https://jira.mongodb.org/images/icons/statuses/closed.png" description="The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.">Closed</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="9">Done</resolution>
                                        <assignee username="ben.caimano@mongodb.com">Benjamin Caimano</assignee>
                                    <reporter username="ben.caimano@mongodb.com">Benjamin Caimano</reporter>
                        <labels>
                    </labels>
                <created>Fri, 19 Apr 2019 17:31:54 +0000</created>
                <updated>Fri, 14 Jun 2019 14:55:46 +0000</updated>
                            <resolved>Mon, 10 Jun 2019 17:52:17 +0000</resolved>
                                                                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="2281843" author="ben.caimano" created="Wed, 12 Jun 2019 20:20:06 +0000"  >&lt;p&gt;Some explanation is probably due since I hear these graphs might see wider consumption. The mongodes and mongoses involved had a 1s sleep introduced at the start of each client thread. This artificially simulates a predictably slow connection. The c driver program in bpcps-benchmark.zip starts 100 threads each with a single mongoc client connection. Each thread sends out a find with 1s javascript sleep in its $where.&lt;/p&gt;

&lt;p&gt;This means that the initial connection+find to the mongos takes at least 3s and reconnecting to a mongod+find takes at least 2s. Without any new connections being made, an operation takes at least 1s--which is the steady state seen in steady-plot2.png. Each step you see in the graphs is one less connection needing to be made somewhere along the CRUD-associated path. Both axis of the charts are in ms. The X axis is the duration from when the test began to the start of a find operation from the client. The Y axis is the latency of that same operation. Blue is max, green is median, yellow is min. Honestly, I suspect that just dots would have painted the picture about as well.&lt;/p&gt;

&lt;p&gt;The clear signal these graphs show is due to two conditions:&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;The operations need to take long enough that more connections are needed. If operations are quick, then you won&apos;t need many active connections.&lt;/li&gt;
	&lt;li&gt;The actual time to establish a connection needs to be substantial with respect to the time to perform the operation. If this isn&apos;t true, than variance around the operation can make it hard to see the cost of connections.&lt;/li&gt;
&lt;/ul&gt;
</comment>
                            <comment id="2278115" author="ben.caimano" created="Mon, 10 Jun 2019 17:52:17 +0000"  >&lt;p&gt;I&apos;ve got some pretty encouraging graphs here. With a high connection cost, I was able to make the latency from new connections substantially less severe for CRUD operations. I&apos;ve attached my (unimpressive) find-driver and scipy script in the zip file.&lt;/p&gt;</comment>
                            <comment id="2265968" author="ben.caimano" created="Thu, 30 May 2019 20:29:29 +0000"  >&lt;p&gt;I was able to prove this out on the existing in flight stuff, not closing until I can do so on approved code.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10420">
                    <name>Backports</name>
                                            <outwardlinks description="backported by">
                                                        </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="220004" name="bpcps-benchmark.zip" size="3495" author="ben.caimano@mongodb.com" created="Mon, 10 Jun 2019 17:50:33 +0000"/>
                            <attachment id="220001" name="steady-plot-2.png" size="22950" author="ben.caimano@mongodb.com" created="Mon, 10 Jun 2019 17:48:55 +0000"/>
                            <attachment id="220003" name="step-down-plot-with-primary.png" size="26545" author="ben.caimano@mongodb.com" created="Mon, 10 Jun 2019 17:49:09 +0000"/>
                            <attachment id="220002" name="step-down-plot.png" size="28671" author="ben.caimano@mongodb.com" created="Mon, 10 Jun 2019 17:49:02 +0000"/>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>3.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18555" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname># of Sprints</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>4.0</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_12450" key="com.atlassian.jira.plugin.system.customfieldtypes:multicheckboxes">
                        <customfieldname>Backport Requested</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="16775"><![CDATA[v4.2]]></customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        4 years, 35 weeks ago
    
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18254" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Dependencies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[]]></customfieldvalue>


                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                            <customfield id="customfield_10857" key="com.pyxis.greenhopper.jira:gh-epic-link">
                        <customfieldname>Epic Link</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>PM-1124</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10057" key="com.atlassian.jira.toolkit:lastusercommented">
                        <customfieldname>Last comment by Customer</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>true</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10056" key="com.atlassian.jira.toolkit:lastupdaterorcommenter">
                        <customfieldname>Last commenter</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>ben.caimano@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            4 years, 35 weeks ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>ben.caimano@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|huv2fz:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hukhyn:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9223372036854775807</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_23361" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Requested By</customfieldname>
                        <customfieldvalues>
                                

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_10557" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="2941">Service Arch 2019-05-06</customfieldvalue>
    <customfieldvalue id="2960">Service Arch 2019-05-20</customfieldvalue>
    <customfieldvalue id="3022">Service Arch 2019-06-03</customfieldvalue>
    <customfieldvalue id="3023">Service Arch 2019-06-17</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10053" key="com.atlassian.jira.ext.charting:timeinstatus">
                        <customfieldname>Time In Status</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_22870" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Triagers</customfieldname>
                        <customfieldvalues>
                                

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_14350" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>serverRank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|huuopb:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                    </customfields>
    </item>
</channel>
</rss>