brianc / node-postgres-docs

Documentation for node-postgres
https://node-postgres.com
MIT License
97 stars 94 forks source link

Recommendation for Client vs Pool with RDS Proxy #175

Open netia1128 opened 2 years ago

netia1128 commented 2 years ago

Hi. I'm wondering if there is any recommendation for whether it makes sense to use a client vs a pool with an Amazon RDS Proxy connection. My understanding is that the point of using a proxy vs a direct connection to an RDS database is that the proxy intrinsically builds in pooling of connection to the database. So, I'm wondering if it makes sense to layer a client on top of the proxy instead of a pool so that we dont have pools on pools?