<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 07:43:13 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-2334] mongos and load balancer settings</title>
                <link>https://jira.mongodb.org/browse/DOCS-2334</link>
                <project id="10380" key="DOCS">Documentation</project>
                    <description>&lt;p&gt;Some users want to connect to mongoses via a load balancer, e.g. to scale out mongoses while using a single connection string, or as a network-security layer. We sort of suggest this when we say &quot;&lt;a href=&quot;http://docs.mongodb.org/manual/core/sharded-cluster-architectures-production/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;You may also may deploy a group of mongos instances and use a proxy/load balancer between the application and the mongos.&lt;/a&gt;&quot;.&lt;/p&gt;

&lt;p&gt;In such a case the load balancer must be configured for &quot;client affinity&quot;: every connection from a given client IP must be routed to the same mongos as other connections from that client. Mere &quot;socket affinity&quot; where connections from one client can be routed to several mongoses won&apos;t work. The main problem is that OP_GETMORE messages may go to a different mongos than the initial query, &lt;span class=&quot;error&quot;&gt;&amp;#91;as Craig Wilson pointed out|craiggwilson.com/2013/10/21/load-balanced-mongos/&amp;#93;&lt;/span&gt;.&lt;/p&gt;

&lt;p&gt;An additional problem is when upgrading mongoses from one wire-protocol version to the next: the driver may call ismaster on one mongos and get protocol version X, then try to talk to a different mongos which only speaks wire-protocol version Y. This is avoided if all the connections from any single client use the same mongos.&lt;/p&gt;

&lt;p&gt;So let&apos;s make a page on load balancers with more detailed recommendations, emphasizing client affinity.&lt;/p&gt;</description>
                <environment></environment>
        <key id="100778">DOCS-2334</key>
            <summary>mongos and load balancer settings</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</type>
                                            <priority id="2" iconUrl="https://jira.mongodb.org/images/icons/priorities/critical.svg">Critical - P2</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="sam.kleinman">Sam Kleinman</assignee>
                                    <reporter username="jesse@mongodb.com">A. Jesse Jiryu Davis</reporter>
                        <labels>
                    </labels>
                <created>Mon, 2 Dec 2013 20:43:25 +0000</created>
                <updated>Wed, 11 Jan 2017 22:39:56 +0000</updated>
                            <resolved>Fri, 17 Jan 2014 15:06:28 +0000</resolved>
                                                    <fixVersion>01112017-cleanup</fixVersion>
                                    <component>manual</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>5</watches>
                                                                                                                <comments>
                            <comment id="466177" author="xgen-internal-githook" created="Thu, 5 Dec 2013 15:14:49 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;tychoish&apos;, u&apos;name&apos;: u&apos;Sam Kleinman&apos;, u&apos;email&apos;: u&apos;samk@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/DOCS-2334&quot; title=&quot;mongos and load balancer settings&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DOCS-2334&quot;&gt;&lt;del&gt;DOCS-2334&lt;/del&gt;&lt;/a&gt;: edits to load balancing page&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/docs/commit/521041c11ad7fa26bb8d4bc0a5cff8cbb130fb3c&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/docs/commit/521041c11ad7fa26bb8d4bc0a5cff8cbb130fb3c&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="466176" author="xgen-internal-githook" created="Thu, 5 Dec 2013 15:14:47 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;tychoish&apos;, u&apos;name&apos;: u&apos;Sam Kleinman&apos;, u&apos;email&apos;: u&apos;samk@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/DOCS-2334&quot; title=&quot;mongos and load balancer settings&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DOCS-2334&quot;&gt;&lt;del&gt;DOCS-2334&lt;/del&gt;&lt;/a&gt;: reorganizing production notes page, adding architecture section, and including links to architectural recomendations&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/docs/commit/ca276293488ecd849b3d0b1859fa41de2c2ddb89&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/docs/commit/ca276293488ecd849b3d0b1859fa41de2c2ddb89&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="466175" author="xgen-internal-githook" created="Thu, 5 Dec 2013 15:14:45 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;tychoish&apos;, u&apos;name&apos;: u&apos;Sam Kleinman&apos;, u&apos;email&apos;: u&apos;samk@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/DOCS-2334&quot; title=&quot;mongos and load balancer settings&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DOCS-2334&quot;&gt;&lt;del&gt;DOCS-2334&lt;/del&gt;&lt;/a&gt;: add note about load balancing mongos&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/docs/commit/406b222398669fbe7f966cd7fa35854f1562bb8c&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/docs/commit/406b222398669fbe7f966cd7fa35854f1562bb8c&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="466174" author="xgen-internal-githook" created="Thu, 5 Dec 2013 15:13:08 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;tychoish&apos;, u&apos;name&apos;: u&apos;Sam Kleinman&apos;, u&apos;email&apos;: u&apos;samk@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/DOCS-2334&quot; title=&quot;mongos and load balancer settings&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DOCS-2334&quot;&gt;&lt;del&gt;DOCS-2334&lt;/del&gt;&lt;/a&gt;: edits to load balancing page&lt;br/&gt;
Branch: v2.4&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/docs/commit/2c2da54854a2ca7b7fd1f8f4e2563cbf79262206&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/docs/commit/2c2da54854a2ca7b7fd1f8f4e2563cbf79262206&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="466173" author="xgen-internal-githook" created="Thu, 5 Dec 2013 15:13:06 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;tychoish&apos;, u&apos;name&apos;: u&apos;Sam Kleinman&apos;, u&apos;email&apos;: u&apos;samk@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/DOCS-2334&quot; title=&quot;mongos and load balancer settings&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DOCS-2334&quot;&gt;&lt;del&gt;DOCS-2334&lt;/del&gt;&lt;/a&gt;: reorganizing production notes page, adding architecture section, and including links to architectural recomendations&lt;br/&gt;
Branch: v2.4&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/docs/commit/7d8970a34f77c9a063083aca51bffd17e77c7414&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/docs/commit/7d8970a34f77c9a063083aca51bffd17e77c7414&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="466172" author="xgen-internal-githook" created="Thu, 5 Dec 2013 15:13:04 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;tychoish&apos;, u&apos;name&apos;: u&apos;Sam Kleinman&apos;, u&apos;email&apos;: u&apos;samk@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/DOCS-2334&quot; title=&quot;mongos and load balancer settings&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DOCS-2334&quot;&gt;&lt;del&gt;DOCS-2334&lt;/del&gt;&lt;/a&gt;: add note about load balancing mongos&lt;br/&gt;
Branch: v2.4&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/docs/commit/a5543d18d5531c0bb4a3033ee2713b7544589af7&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/docs/commit/a5543d18d5531c0bb4a3033ee2713b7544589af7&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                                        </outwardlinks>
                                                        </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>Tue, 3 Dec 2013 14:47:34 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        10 years, 10 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>jess.mokrzecki@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            10 years, 10 weeks, 6 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                            <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>jesse@mongodb.com</customfieldvalue>
            <customfieldvalue>xgen-internal-githook</customfieldvalue>
            <customfieldvalue>sam.kleinman</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrrayf:</customfieldvalue>

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

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

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