<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:51:59 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>[JAVA-308] Pooling Connections independently of the User</title>
                <link>https://jira.mongodb.org/browse/JAVA-308</link>
                <project id="10006" key="JAVA">Java Driver</project>
                    <description>&lt;p&gt;In the current connection pooling approach, connections are pooled by database+user. As a result, it is not possible to share connections across multiple users. &lt;/p&gt;

&lt;p&gt;Take the following settings for instance: a huge number (1000 and more) of components (bundles) are in an OSGI container. They all use the same MongoDB cluster but different &lt;br/&gt;
DBs. It makes sense to maintain central pool of connections (say 200 connections) instead of having these clients maintaining each a pool of connections. If each client maintains 10 connections, we end up having 10000 connections; a huge waste of resources. I thought something working alone the following lines would be great.&lt;/p&gt;

&lt;p&gt;Whenever a client wants to access the DB, it would: &lt;br/&gt;
1) Get a connection from the common pool &lt;br/&gt;
2) Before passing the connection to the client, the pool manager would switch the database to the client&apos;s DB, and&lt;br/&gt;
3) Re-authenticate the connection with the new client&apos;s credentials. &lt;/p&gt;


&lt;p&gt;Does this make sense?&lt;br/&gt;
I can see this &lt;/p&gt;</description>
                <environment></environment>
        <key id="15312">JAVA-308</key>
            <summary>Pooling Connections independently of the User</summary>
                <type id="2" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14711&amp;avatarType=issuetype">New Feature</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="antoine">Antoine Girbal</assignee>
                                    <reporter username="max.bridgewater">Max Bridgewater</reporter>
                        <labels>
                    </labels>
                <created>Sun, 27 Mar 2011 01:11:28 +0000</created>
                <updated>Wed, 19 Oct 2016 14:17:23 +0000</updated>
                            <resolved>Sun, 27 Mar 2011 06:25:37 +0000</resolved>
                                                                                        <votes>0</votes>
                                    <watches>0</watches>
                                                                                                                <comments>
                            <comment id="26910" author="eliot" created="Sun, 27 Mar 2011 06:25:37 +0000"  >&lt;p&gt;See: &lt;a href=&quot;http://api.mongodb.org/java/2.6-pre-/com/mongodb/Mongo.Holder.html&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://api.mongodb.org/java/2.6-pre-/com/mongodb/Mongo.Holder.html&lt;/a&gt;&lt;br/&gt;
Its designed pretty much for this purpose.&lt;br/&gt;
If there is something else you need please comment.&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|hrhccf:</customfieldvalue>

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