<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:21:34 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>[CDRIVER-4663] Eagerly create minPoolSize connections</title>
                <link>https://jira.mongodb.org/browse/CDRIVER-4663</link>
                <project id="10030" key="CDRIVER">C Driver</project>
                    <description>&lt;p&gt;The C/C++ driver&apos;s connection pool does not eagerly create connections even when  the minPoolSize config is set. This is surprising behavior and has lead to difficult-to-diagnose performance issues when the first operation has wildly different performance from subsequent operations.&lt;/p&gt;

&lt;p&gt;What&apos;s more is that the &lt;a href=&quot;https://github.com/mongodb/specifications/blob/a10e270087bc8ec661561be8cffd287bc6982d91/source/connection-monitoring-and-pooling/connection-monitoring-and-pooling.rst#populating-the-pool-with-a-connection-internal-implementation&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;driver spec&lt;/a&gt; seems to require this behavior:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;If minPoolSize is set, the Connection Pool MUST be populated until it has at least minPoolSize total Connections.&lt;/p&gt;&lt;/blockquote&gt;
</description>
                <environment></environment>
        <key id="2369740">CDRIVER-4663</key>
            <summary>Eagerly create minPoolSize connections</summary>
                <type id="2" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14711&amp;avatarType=issuetype">New Feature</type>
                                            <priority id="3" iconUrl="https://jira.mongodb.org/images/icons/priorities/major.svg">Major - P3</priority>
                        <status id="10018" iconUrl="https://jira.mongodb.org/images/icons/statuses/visible.png" description="">In Code Review</status>
                    <statusCategory id="4" key="indeterminate" colorName="inprogress"/>
                                    <resolution id="-1">Unresolved</resolution>
                                        <assignee username="kyle.kloberdanz@mongodb.com">Kyle Kloberdanz</assignee>
                                    <reporter username="ryan.timmons@mongodb.com">Ryan Timmons</reporter>
                        <labels>
                            <label>perf-pain</label>
                    </labels>
                <created>Thu, 15 Jun 2023 18:47:20 +0000</created>
                <updated>Tue, 23 Jan 2024 16:57:07 +0000</updated>
                                                                            <component>Performance</component>
                                        <votes>1</votes>
                                    <watches>9</watches>
                                                                                                                <comments>
                            <comment id="5999442" author="JIRAUSER1273230" created="Wed, 10 Jan 2024 05:03:11 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=ryan.timmons%40mongodb.com&quot; class=&quot;user-hover&quot; rel=&quot;ryan.timmons@mongodb.com&quot;&gt;ryan.timmons@mongodb.com&lt;/a&gt; Yeah, &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=minh.luu%40mongodb.com&quot; class=&quot;user-hover&quot; rel=&quot;minh.luu@mongodb.com&quot;&gt;minh.luu@mongodb.com&lt;/a&gt; landed our version of pre-warm (which is pinging the admin database too) very recently in &lt;a href=&quot;https://github.com/mongodb/genny/pull/970&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/genny/pull/970&lt;/a&gt; through DEVPROD-2090. We mostly got blocked up on the performance implications of it (for other readers, Genny can&apos;t suddenly increase in performance).&lt;/p&gt;

&lt;p&gt;It&apos;d be nice if the C Driver had an option to do this itself, but if it were non-configurable it&apos;d cause some issues (solvable with work) for us.&lt;/p&gt;</comment>
                            <comment id="5998170" author="ryan.timmons" created="Tue, 9 Jan 2024 18:37:05 +0000"  >&lt;p&gt;Hey &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=james.littlejohn%40mongodb.com&quot; class=&quot;user-hover&quot; rel=&quot;james.littlejohn@mongodb.com&quot;&gt;james.littlejohn@mongodb.com&lt;/a&gt;, do you think the &lt;tt&gt;client_pool_warmup&lt;/tt&gt; code that &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=kyle.kloberdanz%40mongodb.com&quot; class=&quot;user-hover&quot; rel=&quot;kyle.kloberdanz@mongodb.com&quot;&gt;kyle.kloberdanz@mongodb.com&lt;/a&gt; has above would work for Genny? I think we recently did some work to pre-warm connections in Genny, so I&apos;m curious if there&apos;s any overlap?&lt;/p&gt;</comment>
                            <comment id="5861755" author="kevin.albertson" created="Tue, 7 Nov 2023 19:33:20 +0000"  >&lt;p&gt;See &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-2389?focusedCommentId=1729634&amp;amp;page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-1729634&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;this comment&lt;/a&gt; in &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-2389&quot; title=&quot;Deprecate minPoolSize and log a warning if it&amp;#39;s used&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-2389&quot;&gt;&lt;del&gt;CDRIVER-2389&lt;/del&gt;&lt;/a&gt; for rationale of why the existing minPoolSize option is deprecated.&lt;/p&gt;

&lt;p&gt;I expect another non-deprecated option may need to be added to support this use-case.&lt;/p&gt;</comment>
                            <comment id="5542826" author="ger.hartnett" created="Tue, 4 Jul 2023 15:44:51 +0000"  >&lt;p&gt;Changed to a bug because it doesn&apos;t follow the driver spec. &lt;/p&gt;</comment>
                            <comment id="5505885" author="ger.hartnett" created="Fri, 16 Jun 2023 17:13:18 +0000"  >&lt;p&gt;Adding a link to PERF-4166&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10520">
                    <name>Problem/Incident</name>
                                            <outwardlinks description="causes">
                                                        </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                                        </outwardlinks>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="903374">CXX-1808</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="460209">CDRIVER-2389</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="498630" name="main.c" size="2419" author="kyle.kloberdanz@mongodb.com" created="Tue, 19 Dec 2023 21:29:03 +0000"/>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_21553" key="com.atlassian.jira.plugin.system.customfieldtypes:labels">
                        <customfieldname>Quarter</customfieldname>
                        <customfieldvalues>
                                        <label>FY24Q4</label>
    
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|i0w3yr:k</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>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            </customfields>
    </item>
</channel>
</rss>