<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:21:19 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>[DRIVERS-353] Space requirements for connections in drivers</title>
                <link>https://jira.mongodb.org/browse/DRIVERS-353</link>
                <project id="10980" key="DRIVERS">Drivers</project>
                    <description>&lt;p&gt;When connections are created in an application (to connect to mongos), what is the data requirement (we&apos;ve been told it&apos;s 1M)?  Is it the same for each driver or are some more expensive than others?&lt;/p&gt;

&lt;p&gt;Thanks,&lt;br/&gt;
Lorne&lt;/p&gt;</description>
                <environment></environment>
        <key id="356624">DRIVERS-353</key>
            <summary>Space requirements for connections in drivers</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="-1">Unassigned</assignee>
                                    <reporter username="lorne.schachter">Lorne Schachter</reporter>
                        <labels>
                    </labels>
                <created>Thu, 23 Feb 2017 16:21:20 +0000</created>
                <updated>Tue, 17 Mar 2020 02:28:17 +0000</updated>
                            <resolved>Thu, 7 Jun 2018 22:07:14 +0000</resolved>
                                                                            <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="1507258" author="behackett" created="Thu, 23 Feb 2017 16:45:51 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=lorne.schachter&quot; class=&quot;user-hover&quot; rel=&quot;lorne.schachter&quot;&gt;lorne.schachter&lt;/a&gt;, see my previous comments and the SERVER ticket. The server (mongod or mongos) creates a thread to handle each incoming connection. The server tunes the thread stack size to 1MB in Linux using the pthread interface.&lt;/p&gt;

&lt;p&gt;Most threads in an application are created by the application. The driver has no control over tuning the stack size of application threads. The &quot;space requirement&quot; for a connection in a driver is going to be whatever the operating system defines as the default TCP buffer size, which is also out of control of the driver.&lt;/p&gt;</comment>
                            <comment id="1507244" author="behackett" created="Thu, 23 Feb 2017 16:38:37 +0000"  >&lt;p&gt;See &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-2707&quot; title=&quot;make default stack size lower on linux&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-2707&quot;&gt;&lt;del&gt;SERVER-2707&lt;/del&gt;&lt;/a&gt; for the kernel stack size change.&lt;/p&gt;</comment>
                            <comment id="1507240" author="behackett" created="Thu, 23 Feb 2017 16:36:15 +0000"  >&lt;p&gt;I think by data you mean the memory used for each connection? The server tunes this down to 1MB, I think, but I don&apos;t think any driver does any tuning (or can do any tuning). Note that it&apos;s 1MB per thread that handles a connection. Nothing to do with TCP buffers.&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </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_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hsvecv:</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>