<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:13:12 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>[DOCS-15542] Investigate changes in SERVER-64964: Measure egress connection creation time from connection pools</title>
                <link>https://jira.mongodb.org/browse/DOCS-15542</link>
                <project id="10380" key="DOCS">Documentation</project>
                    <description>    &lt;div class=&quot;panel&quot; style=&quot;background-color: #c2d2c2;border-width: 1px;&quot;&gt;&lt;div class=&quot;panelHeader&quot; style=&quot;border-bottom-width: 1px;background-color: #239eb0;&quot;&gt;&lt;b&gt;Original Downstream Change Summary&lt;/b&gt;&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;    Adds a server parameter called &quot;slowConnectionThresholdMillis&quot; that specifies the threshold for slow egress connection establishment.&lt;/p&gt;

&lt;p&gt;Emits a log line with ID 6496400 when the connection establishment time exceeds the configured threshold, with the breakdown of how long each phase of the connection establishment took.&lt;/p&gt;

&lt;p&gt;Adds &quot;metrics.mongos.totalConnectionEstablishmentTimeMillis&quot; to the output of serverStatus, tracking the total time for egress connection establishment.&lt;/p&gt;
&lt;h2&gt;&lt;a name=&quot;DescriptionofLinkedTicket&quot;&gt;&lt;/a&gt;Description of Linked Ticket&lt;/h2&gt;
&lt;p&gt;    Mongos (and mongod) maintain connection pools wrapped by task executors. These pooled connections are used to perform RPC. Sometimes, these RPC operations come in &apos;bursts&apos; and no pre-existing pooled connections are available to serve some operations. In these cases, operations are bottlenecked behind new-connection-establishment. We&apos;d like to understand how much time is spent establishing new connections to better understand this potential bottleneck.&lt;/p&gt;

&lt;p&gt;Let&apos;s create a measurement of wall-time for this new-connection establishment.&#160;&lt;/p&gt;

&lt;p&gt;Ideally, it would also be good to include partial measurements for each step of the connection establishment, including:&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;Establishing the TCP connection/sockets.&lt;/li&gt;
	&lt;li&gt;Resolving DNS&lt;/li&gt;
	&lt;li&gt;Performing the TLS handshake&lt;/li&gt;
	&lt;li&gt;MongoDB auth&#160;&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;Including parts of the detailed breakdown, especially MongoDB auth, may be better suited to break-out into separate tickets after some investigation.&#160;&lt;/p&gt;
</description>
                <environment></environment>
        <key id="2115222">DOCS-15542</key>
            <summary>Investigate changes in SERVER-64964: Measure egress connection creation time from connection pools</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="jason.price@mongodb.com">Jason Price</assignee>
                                    <reporter username="backlog-server-pm">Backlog - Core Eng Program Management Team</reporter>
                        <labels>
                    </labels>
                <created>Tue, 16 Aug 2022 17:23:23 +0000</created>
                <updated>Mon, 13 Nov 2023 17:39:15 +0000</updated>
                            <resolved>Tue, 30 Aug 2022 16:41:27 +0000</resolved>
                                                    <fixVersion>6.1.0-rc0</fixVersion>
                    <fixVersion>Server_Docs_20231030</fixVersion>
                    <fixVersion>Server_Docs_20231106</fixVersion>
                    <fixVersion>Server_Docs_20231105</fixVersion>
                    <fixVersion>Server_Docs_20231113</fixVersion>
                                    <component>manual</component>
                    <component>Server</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="4808094" author="xgen-internal-githook" created="Wed, 7 Sep 2022 14:21:04 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;jason-price-mongodb&apos;, &apos;email&apos;: &apos;69260375+jason-price-mongodb@users.noreply.github.com&apos;, &apos;username&apos;: &apos;jason-price-mongodb&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/DOCS-15542&quot; title=&quot;Investigate changes in SERVER-64964: Measure egress connection creation time from connection pools&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DOCS-15542&quot;&gt;&lt;del&gt;DOCS-15542&lt;/del&gt;&lt;/a&gt;-connection-establishment-time (#1669)&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/DOCS-15542&quot; title=&quot;Investigate changes in SERVER-64964: Measure egress connection creation time from connection pools&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DOCS-15542&quot;&gt;&lt;del&gt;DOCS-15542&lt;/del&gt;&lt;/a&gt;-connection-establishment-time&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/DOCS-15542&quot; title=&quot;Investigate changes in SERVER-64964: Measure egress connection creation time from connection pools&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DOCS-15542&quot;&gt;&lt;del&gt;DOCS-15542&lt;/del&gt;&lt;/a&gt;-connection-establishment-time&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/DOCS-15542&quot; title=&quot;Investigate changes in SERVER-64964: Measure egress connection creation time from connection pools&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DOCS-15542&quot;&gt;&lt;del&gt;DOCS-15542&lt;/del&gt;&lt;/a&gt;-connection-establishment-time&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/DOCS-15542&quot; title=&quot;Investigate changes in SERVER-64964: Measure egress connection creation time from connection pools&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DOCS-15542&quot;&gt;&lt;del&gt;DOCS-15542&lt;/del&gt;&lt;/a&gt;-connection-establishment-time&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/DOCS-15542&quot; title=&quot;Investigate changes in SERVER-64964: Measure egress connection creation time from connection pools&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DOCS-15542&quot;&gt;&lt;del&gt;DOCS-15542&lt;/del&gt;&lt;/a&gt;-connection-establishment-time&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/DOCS-15542&quot; title=&quot;Investigate changes in SERVER-64964: Measure egress connection creation time from connection pools&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DOCS-15542&quot;&gt;&lt;del&gt;DOCS-15542&lt;/del&gt;&lt;/a&gt;-connection-establishment-time&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/DOCS-15542&quot; title=&quot;Investigate changes in SERVER-64964: Measure egress connection creation time from connection pools&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DOCS-15542&quot;&gt;&lt;del&gt;DOCS-15542&lt;/del&gt;&lt;/a&gt;-connection-establishment-time&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/DOCS-15542&quot; title=&quot;Investigate changes in SERVER-64964: Measure egress connection creation time from connection pools&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DOCS-15542&quot;&gt;&lt;del&gt;DOCS-15542&lt;/del&gt;&lt;/a&gt;-connection-establishment-time&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;Co-authored-by: jason-price-mongodb &amp;lt;jshfjghsdfgjsdjh@aolsdjfhkjsdhfkjsdf.com&amp;gt;&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/10gen/docs-mongodb-internal/commit/aab793cbfd1a0f1e2d1306bde0c7ba4908ac6a7c&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/10gen/docs-mongodb-internal/commit/aab793cbfd1a0f1e2d1306bde0c7ba4908ac6a7c&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="4788925" author="xgen-internal-githook" created="Tue, 30 Aug 2022 16:39:00 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;jason-price-mongodb&apos;, &apos;email&apos;: &apos;69260375+jason-price-mongodb@users.noreply.github.com&apos;, &apos;username&apos;: &apos;jason-price-mongodb&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/DOCS-15542&quot; title=&quot;Investigate changes in SERVER-64964: Measure egress connection creation time from connection pools&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DOCS-15542&quot;&gt;&lt;del&gt;DOCS-15542&lt;/del&gt;&lt;/a&gt;-connection-establishment-time (#1669)&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/DOCS-15542&quot; title=&quot;Investigate changes in SERVER-64964: Measure egress connection creation time from connection pools&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DOCS-15542&quot;&gt;&lt;del&gt;DOCS-15542&lt;/del&gt;&lt;/a&gt;-connection-establishment-time&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/DOCS-15542&quot; title=&quot;Investigate changes in SERVER-64964: Measure egress connection creation time from connection pools&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DOCS-15542&quot;&gt;&lt;del&gt;DOCS-15542&lt;/del&gt;&lt;/a&gt;-connection-establishment-time&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/DOCS-15542&quot; title=&quot;Investigate changes in SERVER-64964: Measure egress connection creation time from connection pools&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DOCS-15542&quot;&gt;&lt;del&gt;DOCS-15542&lt;/del&gt;&lt;/a&gt;-connection-establishment-time&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/DOCS-15542&quot; title=&quot;Investigate changes in SERVER-64964: Measure egress connection creation time from connection pools&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DOCS-15542&quot;&gt;&lt;del&gt;DOCS-15542&lt;/del&gt;&lt;/a&gt;-connection-establishment-time&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/DOCS-15542&quot; title=&quot;Investigate changes in SERVER-64964: Measure egress connection creation time from connection pools&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DOCS-15542&quot;&gt;&lt;del&gt;DOCS-15542&lt;/del&gt;&lt;/a&gt;-connection-establishment-time&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/DOCS-15542&quot; title=&quot;Investigate changes in SERVER-64964: Measure egress connection creation time from connection pools&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DOCS-15542&quot;&gt;&lt;del&gt;DOCS-15542&lt;/del&gt;&lt;/a&gt;-connection-establishment-time&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/DOCS-15542&quot; title=&quot;Investigate changes in SERVER-64964: Measure egress connection creation time from connection pools&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DOCS-15542&quot;&gt;&lt;del&gt;DOCS-15542&lt;/del&gt;&lt;/a&gt;-connection-establishment-time&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/DOCS-15542&quot; title=&quot;Investigate changes in SERVER-64964: Measure egress connection creation time from connection pools&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DOCS-15542&quot;&gt;&lt;del&gt;DOCS-15542&lt;/del&gt;&lt;/a&gt;-connection-establishment-time&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;Co-authored-by: jason-price-mongodb &amp;lt;jshfjghsdfgjsdjh@aolsdjfhkjsdhfkjsdf.com&amp;gt;&lt;br/&gt;
Branch: v6.1&lt;br/&gt;
&lt;a href=&quot;https://github.com/10gen/docs-mongodb-internal/commit/aab793cbfd1a0f1e2d1306bde0c7ba4908ac6a7c&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/10gen/docs-mongodb-internal/commit/aab793cbfd1a0f1e2d1306bde0c7ba4908ac6a7c&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="4754949" author="edu.bot" created="Tue, 16 Aug 2022 17:23:30 +0000"  >&lt;p&gt;&lt;em&gt;Fix Version updated for upstream &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-64964&quot; title=&quot;Measure egress connection creation time from connection pools&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-64964&quot;&gt;&lt;del&gt;SERVER-64964&lt;/del&gt;&lt;/a&gt;:&lt;/em&gt; &lt;br/&gt;
6.1.0-rc0&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10320">
                    <name>Documented</name>
                                            <outwardlinks description="documents">
                                        <issuelink>
            <issuekey id="2009528">SERVER-64964</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                    </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_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Tue, 16 Aug 2022 17:23:30 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        1 year, 22 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_17052" key="com.atlassian.jira.plugin.system.customfieldtypes:textarea">
                        <customfieldname>Downstream Changes Summary</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Adds a server parameter called &amp;quot;slowConnectionThresholdMillis&amp;quot; that specifies the threshold for slow egress connection establishment.&lt;br/&gt;
&lt;br/&gt;
Emits a log line with ID 6496400 when the connection establishment time exceeds the configured threshold, with the breakdown of how long each phase of the connection establishment took.&lt;br/&gt;
&lt;br/&gt;
Adds &amp;quot;metrics.mongos.totalConnectionEstablishmentTimeMillis&amp;quot; to the output of serverStatus, tracking the total time for egress connection establishment.</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10857" key="com.pyxis.greenhopper.jira:gh-epic-link">
                        <customfieldname>Epic Link</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>DOCSP-21764</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_14873" key="com.atlassian.jira.plugin.system.customfieldtypes:multiuserpicker">
                        <customfieldname>External Reviewer</customfieldname>
                        <customfieldvalues>
                                    <customfieldvalue><![CDATA[vojislav.stojkovic@mongodb.com]]></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>emet.ozar@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            1 year, 22 weeks ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                            <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>backlog-server-pm</customfieldvalue>
            <customfieldvalue>edu.bot</customfieldvalue>
            <customfieldvalue>xgen-internal-githook</customfieldvalue>
            <customfieldvalue>jason.price@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|i16k9b:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|i0pc00:</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_10555" key="com.atlassian.jira.plugin.system.customfieldtypes:float">
                        <customfieldname>Story Points</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>3.0</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_14350" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>serverRank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|i166en:</customfieldvalue>

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