<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:38:42 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>[CSHARP-1116] Support alternate strategies for input and output buffers</title>
                <link>https://jira.mongodb.org/browse/CSHARP-1116</link>
                <project id="10041" key="CSHARP">C# Driver</project>
                    <description>&lt;p&gt;The requirements for input and output buffers are sufficiently different that it would be good to support alternate strategies for each of the two directions.&lt;/p&gt;

&lt;p&gt;For input buffers:&lt;/p&gt;

&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;the total required size is known in advance&lt;/li&gt;
	&lt;li&gt;for very small buffers it would be better to just allocate one from the heap&lt;/li&gt;
	&lt;li&gt;for larger buffers, we can optimize the sizes of the segments given that we know the total size required in advance&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;For output buffers:&lt;/p&gt;

&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;the total size is NOT known in advance&lt;/li&gt;
	&lt;li&gt;most messages will end up being small, but we can&apos;t tell in advance&lt;/li&gt;
	&lt;li&gt;so we should start with a single relatively small segment (1K?) allocated from the heap&lt;/li&gt;
	&lt;li&gt;if that turns out to be enough, great, otherwise start grabbing increasingly larger segments from an underlying source (presumably pooled)&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;Note: this would not require any new interfaces, just alternate implementations of the IBsonChunkSource interface proposed in &lt;a href=&quot;https://jira.mongodb.org/browse/CSHARP-1115&quot; title=&quot;Support alternate buffer pool strategies&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CSHARP-1115&quot;&gt;&lt;del&gt;CSHARP-1115&lt;/del&gt;&lt;/a&gt;.&lt;/p&gt;</description>
                <environment></environment>
        <key id="170395">CSHARP-1116</key>
            <summary>Support alternate strategies for input and output buffers</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="robert@mongodb.com">Robert Stam</assignee>
                                    <reporter username="robert@mongodb.com">Robert Stam</reporter>
                        <labels>
                    </labels>
                <created>Thu, 20 Nov 2014 14:18:01 +0000</created>
                <updated>Mon, 6 Apr 2015 21:53:16 +0000</updated>
                            <resolved>Mon, 6 Apr 2015 21:53:12 +0000</resolved>
                                                    <fixVersion>2.0</fixVersion>
                                    <component>BSON</component>
                                        <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                <comments>
                            <comment id="874028" author="rstam" created="Mon, 6 Apr 2015 21:52:16 +0000"  >&lt;p&gt;Initial work on this ticket was done in this commit:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://github.com/mongodb/mongo-csharp-driver/commit/5001736827979f658fc7a952284d80298f1e98d4&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-csharp-driver/commit/5001736827979f658fc7a952284d80298f1e98d4&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;But the commit message did not include the JIRA ticket number.&lt;/p&gt;

&lt;p&gt;See the new InputBufferChunkSource and OutputBufferChunkSource classes.&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|hs48xr:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>149717</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            </customfields>
    </item>
</channel>
</rss>