<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 02:57:49 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-1714] multiplex mongos -&gt; mongod connecions after successful read op</title>
                <link>https://jira.mongodb.org/browse/SERVER-1714</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;Can&apos;t do this until state moves from per connection to per reqeust.&lt;/p&gt;</description>
                <environment></environment>
        <key id="12973">SERVER-1714</key>
            <summary>multiplex mongos -&gt; mongod connecions after successful read op</summary>
                <type id="4" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14710&amp;avatarType=issuetype">Improvement</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="greg_10gen">Greg Studer</assignee>
                                    <reporter username="eliot">Eliot Horowitz</reporter>
                        <labels>
                    </labels>
                <created>Wed, 1 Sep 2010 01:34:25 +0000</created>
                <updated>Tue, 12 Jul 2016 00:19:59 +0000</updated>
                            <resolved>Wed, 8 Jan 2014 17:25:29 +0000</resolved>
                                                    <fixVersion>2.5.5</fixVersion>
                                    <component>Sharding</component>
                                        <votes>10</votes>
                                    <watches>17</watches>
                                                                                                                <comments>
                            <comment id="277867" author="kamaradclimber" created="Thu, 28 Feb 2013 07:32:11 +0000"  >&lt;p&gt;We have exactly the same issue:&lt;br/&gt;
14 shards, around 10k connections per primary. A lot of ram is lost with this.&lt;br/&gt;
At some point mongodb used one thread per connection, if this is still the case, we have 10k threads per primary and nobody thinks this is a good situation ^^&lt;/p&gt;</comment>
                            <comment id="277329" author="justanyone" created="Wed, 27 Feb 2013 18:06:51 +0000"  >&lt;p&gt;We&apos;re seeing (with 48 shards in our cluster, 24 primaries on each of two boxes, primary/replica/arbiter setup w/ 3 configs), upwards of 600+ connections per primary mongod process.  This is huge.  It prevents us from going to rather large numbers of shards, say 500 on one box.&lt;/p&gt;

&lt;p&gt;Further, IIRC, if I have 10 processes connect to one mongos and that mongos connects to 4 shards, I&apos;ve really instantiated 40 connections.  This is huge.  I am going to have 3000 servers, each with a pymongo client, connecting and sending data.  This means 3000 * 4 = 12,000 connections.  &lt;/p&gt;

&lt;p&gt;I may be able to handle this with virtual IP addresses for each of the mongod&apos;s.  But, it&apos;s an ugly workaround.&lt;/p&gt;
</comment>
                            <comment id="44819" author="eliot" created="Wed, 27 Jul 2011 15:13:41 +0000"  >&lt;p&gt;with stack size changes, this is less important&lt;/p&gt;</comment>
                            <comment id="33546" author="auto" created="Thu, 19 May 2011 18:23:16 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;login&apos;: u&apos;erh&apos;, u&apos;name&apos;: u&apos;Eliot Horowitz&apos;, u&apos;email&apos;: u&apos;eliot@10gen.com&apos;}
&lt;p&gt;Message: don&apos;t unset sharding state when a shard connection is done&lt;br/&gt;
more prep for &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-1714&quot; title=&quot;multiplex mongos -&amp;gt; mongod connecions after successful read op&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-1714&quot;&gt;&lt;del&gt;SERVER-1714&lt;/del&gt;&lt;/a&gt;&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/0b689c83e8a8555d2167ef0337982008ff698c14&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/0b689c83e8a8555d2167ef0337982008ff698c14&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="33382" author="eliot" created="Wed, 18 May 2011 21:36:46 +0000"  >&lt;p&gt;Left:&lt;/p&gt;
&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;fix drop hack&lt;/li&gt;
	&lt;li&gt;figure out repeated getLastError&lt;/li&gt;
	&lt;li&gt;actually turn on&lt;/li&gt;
	&lt;li&gt;pool stats aggregrated&lt;/li&gt;
&lt;/ul&gt;
</comment>
                            <comment id="20249" author="eliot" created="Thu, 11 Nov 2010 20:58:14 +0000"  >&lt;p&gt;this is going to be too expensive till we can re-work network so version is per request&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                                                <inwardlinks description="is depended on by">
                                        <issuelink>
            <issuekey id="62526">SERVER-8224</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                        <issuelink>
            <issuekey id="74743">SERVER-9630</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="43922">SERVER-6402</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="123007">DOCS-2947</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="69175">SERVER-9040</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="26345">SERVER-4466</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="55811">SERVER-7606</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="68991">SERVER-9022</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>6.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Thu, 19 May 2011 18:23:16 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        10 years, 50 weeks, 6 days 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_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>ramon.fernandez@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            10 years, 50 weeks, 6 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10000" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Old_Backport</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10000"><![CDATA[No]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>auto</customfieldvalue>
            <customfieldvalue>eliot</customfieldvalue>
            <customfieldvalue>kamaradclimber</customfieldvalue>
            <customfieldvalue>greg_10gen</customfieldvalue>
            <customfieldvalue>justanyone</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrpg3z:</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>20571</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_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|hsyo93:</customfieldvalue>

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