# How to connection pool requests for foundation db cluster

**URL:** <https://forums.foundationdb.org/t/how-to-connection-pool-requests-for-foundation-db-cluster/1811>\
**Category:** Using FoundationDB\
**Created:** [December 4, 2019, 9:00pm UTC](https://forums.foundationdb.org/t/how-to-connection-pool-requests-for-foundation-db-cluster/1811 "2019-12-04T21:00:43Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![nischalkumar](https://sea1.discourse-cdn.com/foundationdb/user_avatar/forums.foundationdb.org/nischalkumar/32/933_2.png) [@nischalkumar](https://forums.foundationdb.org/u/nischalkumar)\
**Post date:** [December 4, 2019, 9:00pm UTC](https://forums.foundationdb.org/t/how-to-connection-pool-requests-for-foundation-db-cluster/1811/1 "2019-12-04T21:00:44Z")

</div>

Is there a recommended way to create a connection pool in foundation DB. Please help

---

<div class="post-metadata">

**Author:** ![ajbeamon](https://sea1.discourse-cdn.com/foundationdb/user_avatar/forums.foundationdb.org/ajbeamon/32/13_2.png) [@ajbeamon](https://forums.foundationdb.org/u/ajbeamon)\
**Post date:** [December 5, 2019, 7:07pm UTC](https://forums.foundationdb.org/t/how-to-connection-pool-requests-for-foundation-db-cluster/1811/2 "2019-12-05T19:07:50Z")

</div>

Client connections to the cluster are all managed within the fdb\_c client library, and as a user of the client there isn’t much you can do to directly influence them.

To give you an idea what this actually looks like, a client process will create a connection to each of various processes in the cluster that it needs to communicate with as necessary, such as the coordinators, master proxies, and storage servers that it reads from. It won’t create a new connection to a process if one is already open, but they can be closed from idleness (after 3 minutes, I believe).

Any operations you perform on a client will make use of open connections if they exist. You can run multiple transactions simultaneously, and if they require talking to the same processes they will use the same connections.

---

<div class="post-metadata">

**Author:** ![alexmiller](https://sea1.discourse-cdn.com/foundationdb/user_avatar/forums.foundationdb.org/alexmiller/32/326_2.png) [@alexmiller](https://forums.foundationdb.org/u/alexmiller)\
**Post date:** [December 11, 2019, 1:38am UTC](https://forums.foundationdb.org/t/how-to-connection-pool-requests-for-foundation-db-cluster/1811/3 "2019-12-11T01:38:42Z")

</div>

Or if you’re looking for a connection pooler like `pgbouncer`, then one will be included as a part of fdbserver in 7.0, but will only become useful or necessary if you have many 10’s of thousands of clients. Please follow [Add support for “Read Proxy” role #1938](https://github.com/apple/foundationdb/issues/1938) for the progress.
