<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:33:27 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>[GODRIVER-57] Utilize byte buffer pools to eliminate allocations for wire protocol messages</title>
                <link>https://jira.mongodb.org/browse/GODRIVER-57</link>
                <project id="14289" key="GODRIVER">Go Driver</project>
                    <description>&lt;p&gt;Currently, every wire protocol message allocates byte arrays. We should utilize a buffer pool in order to reduce the number of allocations at the expense of keeping around memory.&lt;/p&gt;</description>
                <environment></environment>
        <key id="413521">GODRIVER-57</key>
            <summary>Utilize byte buffer pools to eliminate allocations for wire protocol messages</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="13203">Gone away</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="craig.wilson@mongodb.com">Craig Wilson</reporter>
                        <labels>
                    </labels>
                <created>Mon, 7 Aug 2017 19:34:34 +0000</created>
                <updated>Fri, 27 Oct 2023 20:01:39 +0000</updated>
                            <resolved>Mon, 4 Feb 2019 19:59:53 +0000</resolved>
                                                                    <component>Wire Protocol</component>
                                        <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                <comments>
                            <comment id="2137200" author="ian@10gen.com" created="Mon, 4 Feb 2019 19:59:53 +0000"  >&lt;p&gt;Will be incorporated into the driver library redesign.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=kris.brandow&quot; class=&quot;user-hover&quot; rel=&quot;kris.brandow&quot;&gt;kris.brandow&lt;/a&gt; to make sure that ends up in the design.&lt;/p&gt;</comment>
                            <comment id="1895311" author="jeff.yemin" created="Fri, 18 May 2018 15:05:04 +0000"  >&lt;p&gt;A cache would increase the memory input with the (possible) benefit of decreasing GC overhead.&lt;/p&gt;

&lt;p&gt;I think we should do this ticket after &lt;a href=&quot;https://jira.mongodb.org/browse/GODRIVER-112&quot; title=&quot;Port Driver Benchmark Tests to Evergreen&quot; class=&quot;issue-link&quot; data-issue-key=&quot;GODRIVER-112&quot;&gt;&lt;del&gt;GODRIVER-112&lt;/del&gt;&lt;/a&gt; so we have a baseline to compare against, as well as a something we can profile with tools that report on GC overhead.&lt;/p&gt;</comment>
                            <comment id="1895129" author="samk" created="Fri, 18 May 2018 14:05:30 +0000"  >&lt;p&gt;While this seems bad, are there reports that the allocation (or gc) overhead is actually causing issues or impacting memory footprint? Are there any tests.&lt;/p&gt;

&lt;p&gt;Would it make sense to schedule a ticket for writing some benchmarks ahead of this. &lt;/p&gt;

&lt;p&gt;On the other hand, using a sync.Pool instance for *bytes.Buffer instances is straight forward and easy, but wouldn&apos;t be indexed by size, which might obviate most of the benefit.&lt;/p&gt;

&lt;p&gt;(cc &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=jeff.yemin&quot; class=&quot;user-hover&quot; rel=&quot;jeff.yemin&quot;&gt;jeff.yemin&lt;/a&gt;) &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_10857" key="com.pyxis.greenhopper.jira:gh-epic-link">
                        <customfieldname>Epic Link</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>GODRIVER-461</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|ht4mav:</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>