<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 04:48:05 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-38148] Test performance when reading from mongos with large catalog cache</title>
                <link>https://jira.mongodb.org/browse/SERVER-38148</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;The sharding catalog may see millions of chunks representing unsharded collections, we need to verify that this will not significantly affect performance of the sharding catalog. &lt;/p&gt;

&lt;p&gt;&lt;b&gt;Goals&lt;/b&gt;&lt;/p&gt;
&lt;ol&gt;
	&lt;li&gt;Assess time to do the first read ever through a fresh mongos and up-to-date shards with a large sharding catalog&lt;/li&gt;
	&lt;li&gt;Check that the steady state latency of a read from a collection that mongos has already seen is not affected by the size of the catalog&lt;/li&gt;
	&lt;li&gt;Assess time to read from a collection that mongos has not yet seen on a database that said mongos &lt;b&gt;has&lt;/b&gt; already seen&lt;/li&gt;
&lt;/ol&gt;



&lt;p&gt;&lt;b&gt;Implementation&lt;/b&gt;&lt;br/&gt;
Create perf workload in 10gen/workloads repo.&lt;br/&gt;
1. Record baseline results. The catalog cache will have only the two collections we create and read from in the steps below.&lt;/p&gt;
&lt;ol&gt;
	&lt;li&gt;Create a sharded collection with one document through mongos1&lt;/li&gt;
	&lt;li&gt;Read this same document from the same collection through mongos2 using benchRun() to time the operation&lt;/li&gt;
	&lt;li&gt;Read this same document from the same collection through mongos2 a second time using benchRun() to time the operation&lt;/li&gt;
	&lt;li&gt;Create a new collection with one document in the same database as the first collection through mongos1&lt;/li&gt;
	&lt;li&gt;Read the document in this second collection through mongos2 using benchRun() to time the operation&lt;/li&gt;
&lt;/ol&gt;


&lt;p&gt;2. Record results when the catalog cache has additional collections. For each of nCollections = &lt;span class=&quot;error&quot;&gt;&amp;#91;1000, 10000, 100000, 1000000&amp;#93;&lt;/span&gt;, do the following:&lt;/p&gt;
&lt;ol&gt;
	&lt;li&gt;Create a sharded collection with one document through mongos1&lt;/li&gt;
	&lt;li&gt;Insert nCollections entries directly into config.collections and config.chunks through mongos1 for the same db as the above collection is in.&lt;/li&gt;
	&lt;li&gt;Read in the one document in the first collection on every shard&lt;/li&gt;
	&lt;li&gt;Read this same document from the same collection through mongos2 using benchRun() to time the operation&lt;/li&gt;
	&lt;li&gt;Read this same document from the same collection through mongos2 a second time using benchRun() to time the operation&lt;/li&gt;
	&lt;li&gt;Create a new collection with one document in the same database as the first collection through mongos1&lt;/li&gt;
	&lt;li&gt;Read the document in this second collection through mongos2 using benchRun() to time the operation&lt;/li&gt;
&lt;/ol&gt;
</description>
                <environment></environment>
        <key id="634380">SERVER-38148</key>
            <summary>Test performance when reading from mongos with large catalog cache</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="janna.golden@mongodb.com">Janna Golden</assignee>
                                    <reporter username="janna.golden@mongodb.com">Janna Golden</reporter>
                        <labels>
                    </labels>
                <created>Thu, 15 Nov 2018 14:07:09 +0000</created>
                <updated>Thu, 17 Oct 2019 20:23:48 +0000</updated>
                            <resolved>Tue, 27 Nov 2018 16:45:25 +0000</resolved>
                                                                    <component>Sharding</component>
                                        <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="2080115" author="xgen-internal-githook" created="Tue, 4 Dec 2018 17:53:30 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;jannaerin&apos;, &apos;email&apos;: &apos;golden.janna@gmail.com&apos;, &apos;username&apos;: &apos;jannaerin&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-38148&quot; title=&quot;Test performance when reading from mongos with large catalog cache&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-38148&quot;&gt;&lt;del&gt;SERVER-38148&lt;/del&gt;&lt;/a&gt; test performance in one&lt;br/&gt;
Branch: PERF-1760&lt;br/&gt;
&lt;a href=&quot;https://github.com/10gen/workloads/commit/5a666d995aab6695ce8ec4b3da0d55189371c7a1&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/10gen/workloads/commit/5a666d995aab6695ce8ec4b3da0d55189371c7a1&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="621489">SERVER-37660</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>1.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18555" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname># of Sprints</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2.0</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Tue, 4 Dec 2018 17:53:30 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        5 years, 10 weeks, 1 day 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_10857" key="com.pyxis.greenhopper.jira:gh-epic-link">
                        <customfieldname>Epic Link</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>PM-1623</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>esha.maharishi@mongodb.com</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hu359b:</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_23361" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Requested By</customfieldname>
                        <customfieldvalues>
                                

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_10557" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="2581">Sharding 2018-11-19</customfieldvalue>
    <customfieldvalue id="2611">Sharding 2018-12-03</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_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|huclaf:</customfieldvalue>

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