<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:24:31 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-2018] Language specific examples for AWS Lambda</title>
                <link>https://jira.mongodb.org/browse/DRIVERS-2018</link>
                <project id="10980" key="DRIVERS">Drivers</project>
                    <description>&lt;p&gt;We field a lot of complaints about the behavior of drivers when using AWS Lambda. Lambda is a stateless function as a service provider. Drivers maintain a ton of state. A Lambda application has to be written a specific way to ensure an instance of MongoClient is reused on each invocation of a lambda function. Happily, our docs team wrote a guide:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://docs.atlas.mongodb.com/best-practices-connecting-from-aws-lambda/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://docs.atlas.mongodb.com/best-practices-connecting-from-aws-lambda/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Sadly the guide only provides Javascript examples. It also only covers AWS Lambda, not &lt;a href=&quot;https://azure.microsoft.com/en-us/services/functions/#overview&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;Azure Functions&lt;/a&gt;, which are getting popular for .NET developers and are likely to get popular for other languages.&lt;/p&gt;

&lt;p&gt;This ticket proposes writing language specific versions of the existing Javascript example for AWS Lambda and test that the examples work.&lt;/p&gt;

&lt;p&gt;There will be a dependent ticket in the DOCS project to add these new examples to the existing docs.&lt;/p&gt;</description>
                <environment></environment>
        <key id="1958570">DRIVERS-2018</key>
            <summary>Language specific examples for AWS Lambda</summary>
                <type id="11" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14707&amp;avatarType=issuetype">Epic</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="bernie@mongodb.com">Bernie Hackett</reporter>
                        <labels>
                            <label>size-medium</label>
                    </labels>
                <created>Wed, 5 Jan 2022 00:54:01 +0000</created>
                <updated>Wed, 22 Feb 2023 19:25:33 +0000</updated>
                            <resolved>Wed, 22 Feb 2023 19:25:33 +0000</resolved>
                                                        <component>Docs Examples</component>
                                        <votes>1</votes>
                                    <watches>17</watches>
                                                                                                                <comments>
                            <comment id="4504303" author="oleg.pudeyev" created="Mon, 25 Apr 2022 17:12:26 +0000"  >&lt;p&gt;Any find or insert operation should work, for example using Ruby syntax:&lt;/p&gt;

&lt;p/&gt;
&lt;div id=&quot;syntaxplugin&quot; class=&quot;syntaxplugin&quot; style=&quot;border: 1px dashed #bbb; border-radius: 5px !important; overflow: auto; max-height: 30em;&quot;&gt;
&lt;table cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; border=&quot;0&quot; width=&quot;100%&quot; style=&quot;font-size: 1em; line-height: 1.4em !important; font-weight: normal; font-style: normal; color: black;&quot;&gt;
		&lt;tbody &gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;  margin-top: 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;client[&apos;greetings&apos;].insert_one(message: &apos;hello, world!&apos;)&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   margin-bottom: 10px;  width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;client[&apos;greetings&apos;].find.to_a&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
			&lt;/tbody&gt;
&lt;/table&gt;
&lt;/div&gt;
&lt;p/&gt;


&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=alek.antoniewicz%40mongodb.com&quot; class=&quot;user-hover&quot; rel=&quot;alek.antoniewicz@mongodb.com&quot;&gt;alek.antoniewicz@mongodb.com&lt;/a&gt;  I expect drivers that do no i/o in constructor to behave in the described manner.&lt;/p&gt;</comment>
                            <comment id="4503750" author="behackett" created="Mon, 25 Apr 2022 15:09:35 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=oleg.pudeyev%40mongodb.com&quot; class=&quot;user-hover&quot; rel=&quot;oleg.pudeyev@mongodb.com&quot;&gt;oleg.pudeyev@mongodb.com&lt;/a&gt; can you make a proposal to fix that in the smallest way possible?&lt;/p&gt;</comment>
                            <comment id="4503689" author="oleg.pudeyev" created="Mon, 25 Apr 2022 14:58:47 +0000"  >&lt;p&gt;These examples as requested print the configured database name which will be done regardless of whether the connection to deployment succeeds. In other words, someone can type up the code in these examples, run it, it will run successfully but their client wouldn&apos;t have connected to the deployment and hence no actual operations would work once they try to execute any.&lt;/p&gt;</comment>
                            <comment id="4298290" author="dbeng-pm-bot" created="Tue, 18 Jan 2022 17:50:06 +0000"  >&lt;p&gt;If you are not logged in, you can view the tickets in this epic by following &lt;a href=&quot;https://jira.mongodb.org/issues/?jql=%22Epic%20Link%22%20%3D%20DRIVERS-2018&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;this link&lt;/a&gt;.&lt;/p&gt;</comment>
                            <comment id="4278627" author="jonathan.destefano" created="Thu, 6 Jan 2022 16:05:44 +0000"  >&lt;p&gt;Thanks for the heads up, great idea. I scheduled some time for us to discuss as a group and flesh this out a bit more.&lt;/p&gt;</comment>
                            <comment id="4276623" author="behackett" created="Wed, 5 Jan 2022 17:10:45 +0000"  >&lt;p&gt;We should also suggest that users of function as a service providers use Atlas Serverless. Drivers work in load balancer mode for Atlas Serverless, eliminating almost all of SDAM (though not connection pooling).&lt;/p&gt;</comment>
                            <comment id="4276079" author="drew.dipalma" created="Wed, 5 Jan 2022 14:23:50 +0000"  >&lt;p&gt;Cloudflare Workers do not support the MongoDB drivers and I don&apos;t believe Cloudflare is planning to support them in the near future.&#160; We recently partnered with Cloudflare to show how you can use a Realm SDK as Joe notes (see &lt;a href=&quot;https://www.mongodb.com/developer/how-to/cloudflare-worker-rest-api-realm/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;here&lt;/a&gt; and &lt;a href=&quot;https://blog.cloudflare.com/workers-adds-support-for-two-modern-data-platforms-mongodb-atlas-and-prisma/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;here&lt;/a&gt;) and the Data API would also be an option.&#160;&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;Generally, we may also want to note that the Data API is a good option for serverless as it will take care of connection pooling and some users will prefer REST vs. Driver.&#160;&#160;&lt;/p&gt;</comment>
                            <comment id="4276017" author="JIRAUSER1258897" created="Wed, 5 Jan 2022 13:58:30 +0000"  >&lt;p&gt;Thank you Joe.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=jonathan.destefano&quot; class=&quot;user-hover&quot; rel=&quot;jonathan.destefano&quot;&gt;jonathan.destefano&lt;/a&gt;&#160;let&apos;s discuss how we should collaborate on this one.&#160;&lt;/p&gt;</comment>
                            <comment id="4275886" author="joe.drumgoole@10gen.com" created="Wed, 5 Jan 2022 12:25:35 +0000"  >&lt;p&gt;cc &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=jonathan.destefano&quot; class=&quot;user-hover&quot; rel=&quot;jonathan.destefano&quot;&gt;jonathan.destefano&lt;/a&gt; &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=r.rodrigues&quot; class=&quot;user-hover&quot; rel=&quot;r.rodrigues&quot;&gt;r.rodrigues&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;We should decide who can pick up this work between dev rel and docs. We have content for CloudFlare : &lt;a href=&quot;https://www.mongodb.com/developer/how-to/cloudflare-worker-rest-api-realm/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://www.mongodb.com/developer/how-to/cloudflare-worker-rest-api-realm/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;</comment>
                            <comment id="4275443" author="behackett" created="Wed, 5 Jan 2022 01:25:32 +0000"  >&lt;p&gt;FYI &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=will.shulman&quot; class=&quot;user-hover&quot; rel=&quot;will.shulman&quot;&gt;will.shulman&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10620">
                    <name>Issue split</name>
                                            <outwardlinks description="split to">
                                        <issuelink>
            <issuekey id="2017436">CDRIVER-4324</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="2017438">CSHARP-4127</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="2017437">CXX-2481</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="2017439">GODRIVER-2368</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="1977083">JAVA-4474</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="2017447">MOTOR-923</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="2017446">NODE-4160</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="2017448">PHPLIB-833</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="1977082">PYTHON-3097</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="2017449">RUBY-2945</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="2017450">RUST-1253</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                                        </outwardlinks>
                                                                <inwardlinks description="is related to">
                                                        </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                                                                                    <customfield id="customfield_13552" key="com.go2group.jira.plugin.crm:crm_generic_field">
                        <customfieldname>Case</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[[5002K000011CvTCQA0]]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_20965" key="com.atlassian.jira.plugin.system.customfieldtypes:float">
                        <customfieldname>Cost Threshold %</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>100.0</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_10257" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Documentation Changes</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="11861"><![CDATA[Not Needed]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_17052" key="com.atlassian.jira.plugin.system.customfieldtypes:textarea">
                        <customfieldname>Downstream Changes Summary</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>&lt;p&gt;Write language specific versions of the existing Javascript example for AWS Lambda and test that the examples work.&lt;br/&gt;
See the relevant scope &lt;a href=&quot;https://docs.google.com/document/d/1Tz_lmM-8gmFyiqCisHo4q2Qz3MHPl5wgMfEucI58ZO0/edit#heading=h.iveagqw4hj80&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;section&lt;/a&gt; for details.&#160;&lt;/p&gt;</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10951" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Driver Changes</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10748"><![CDATA[Needed]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_23952" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Driver Compliance</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[<style type='text/css'>
         #scriptField, #scriptField *{
                border: 1px solid black;
            }

            #scriptField{
                border-collapse: collapse;
            }

            #scriptField td {
                text-align: center; /* Center-align text in table cells */
            }

            #scriptField td.key {
                text-align: left; /* Left-align text in the Key column */
            }

            #scriptField a {
                text-decoration: none; /* Remove underlines from links */
                border: none; /* Remove border from links */
            }
            
            /* Add green background color to cells with FixVersion */
            #scriptField td.hasFixVersion {
                background-color: #00FF00; /* Green color code */
            }

            /* Center-align the first row headers */
            #scriptField th {
                text-align: center;
            }
        </style>
<table id='scriptField'>
  <tr>
    <th>Key</th>
    <th>Status/Resolution</th>
    <th>FixVersion</th>
  </tr>
  <tr>
    <td class='key'>
      <a href='https://jira.mongodb.org/browse/PYTHON-3097'>PYTHON-3097</a>
    </td>
    <td>Fixed</td>
    <td class='hasFixVersion'>4.2</td>
  </tr>
  <tr>
    <td class='key'>
      <a href='https://jira.mongodb.org/browse/CDRIVER-4324'>CDRIVER-4324</a>
    </td>
    <td>Won't Do</td>
    <td class=''></td>
  </tr>
  <tr>
    <td class='key'>
      <a href='https://jira.mongodb.org/browse/CXX-2481'>CXX-2481</a>
    </td>
    <td>Won't Do</td>
    <td class=''></td>
  </tr>
  <tr>
    <td class='key'>
      <a href='https://jira.mongodb.org/browse/CSHARP-4127'>CSHARP-4127</a>
    </td>
    <td>Fixed</td>
    <td class='hasFixVersion'>2.17.0</td>
  </tr>
  <tr>
    <td class='key'>
      <a href='https://jira.mongodb.org/browse/GODRIVER-2368'>GODRIVER-2368</a>
    </td>
    <td>Done</td>
    <td class='hasFixVersion'>1.12.0, 1.12.0-alpha1</td>
  </tr>
  <tr>
    <td class='key'>
      <a href='https://jira.mongodb.org/browse/NODE-4160'>NODE-4160</a>
    </td>
    <td>Fixed</td>
    <td class='hasFixVersion'>4.10.0</td>
  </tr>
  <tr>
    <td class='key'>
      <a href='https://jira.mongodb.org/browse/MOTOR-923'>MOTOR-923</a>
    </td>
    <td>Done</td>
    <td class=''></td>
  </tr>
  <tr>
    <td class='key'>
      <a href='https://jira.mongodb.org/browse/PHPLIB-833'>PHPLIB-833</a>
    </td>
    <td>Won't Do</td>
    <td class=''></td>
  </tr>
  <tr>
    <td class='key'>
      <a href='https://jira.mongodb.org/browse/RUBY-2945'>RUBY-2945</a>
    </td>
    <td>Fixed</td>
    <td class='hasFixVersion'>2.18.0</td>
  </tr>
  <tr>
    <td class='key'>
      <a href='https://jira.mongodb.org/browse/RUST-1253'>RUST-1253</a>
    </td>
    <td>Fixed</td>
    <td class='hasFixVersion'>2.4.0</td>
  </tr>
  <tr>
    <td class='key'>
      <a href='https://jira.mongodb.org/browse/SWIFT-1536'>SWIFT-1536</a>
    </td>
    <td>Fixed</td>
    <td class='hasFixVersion'>1.4.0</td>
  </tr>
  <tr>
    <td class='key'>
      <a href='https://jira.mongodb.org/browse/JAVA-4474'>JAVA-4474</a>
    </td>
    <td>Done</td>
    <td class=''></td>
  </tr>
</table>]]></customfieldvalue>


                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_18362" key="com.atlassian.jira.plugin.system.customfieldtypes:userpicker">
                        <customfieldname>Engineering Lead</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>bernie@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10858" key="com.pyxis.greenhopper.jira:gh-epic-label">
                        <customfieldname>Epic Name</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Language specific examples for AWS Lambda and Azure Functions</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10859" key="com.pyxis.greenhopper.jira:gh-epic-status">
                        <customfieldname>Epic Status</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10640"><![CDATA[To Do]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_18358" key="com.atlassian.jira.plugin.system.customfieldtypes:userpicker">
                        <customfieldname>Product Manager</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>rachelle.palmer@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18359" key="com.atlassian.jira.plugin.system.customfieldtypes:userpicker">
                        <customfieldname>Program Manager</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>martin.bajana@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_21553" key="com.atlassian.jira.plugin.system.customfieldtypes:labels">
                        <customfieldname>Quarter</customfieldname>
                        <customfieldvalues>
                                        <label>FY23Q2</label>
    
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hzz49z:</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>